mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
perf: we dont need check if update_id is higher than higher_parent_update_id
This commit is contained in:
parent
b282a02bfe
commit
eb75693a36
1 changed files with 1 additions and 3 deletions
|
|
@ -194,9 +194,7 @@ function queue_children_for_update<T>(node: SourceNode<T>)
|
|||
if not child then break end
|
||||
|
||||
if child.last_eval_update_id == update_id then child_index += 1; continue end
|
||||
if update_id > child.higher_parent_update_id then
|
||||
child.higher_parent_update_id = update_id
|
||||
end
|
||||
child.higher_parent_update_id = update_id
|
||||
|
||||
queue_index += 1
|
||||
update_queue[queue_index] = child
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue