fix: no longer bump update id when a map updates

This commit is contained in:
ernisto 2025-04-11 00:55:02 -03:00
parent 36eb9b0433
commit f510fdf690

View file

@ -86,7 +86,6 @@ local function indexes<K, VI, VO>(input: () -> Map<K, VI>, transform: (() -> VI,
output_cache[i] = result
else -- update source
input_nodes[i].cache = v
graph.bump_update_id()
update_descendants(input_nodes[i])
end
end
@ -172,7 +171,6 @@ local function values<K, VI, VO>(input: () -> Map<K, VI>, transform: (VI, () ->
else -- update source
if cv ~= i then
input_nodes[v].cache = i
graph.bump_update_id()
update_descendants(input_nodes[v])
end