You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix quadratic array copy cost in updateDescendants (#3847)
concat() in the loop created a new array on each iteration, copying all
existing elements. Replace with for-of + push() to append in-place,
reducing time complexity from O(D²) to O(D).
0 commit comments