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
Basically, it's a matter to implement the detection of the splice event inside the dirty checking loop. Array.unobserve should behave just like Object.unobserve.
The text was updated successfully, but these errors were encountered:
MaxArt2501
changed the title
Implementing Array.observe
Implement Array.observe
Aug 2, 2015
In fact, I do.
It's not a problem of detecting "splice" changes - a distance function (such as Levenshtein's) should do the trick - but a matter of implementation strategy. Detecting splices is a computationally hefty operation that should be done only for Array-like objects that are observed for splice changes. All of these tasks and checks have their computational cost.
I'd like to prioritize adding benchmarks (#11) before this one, and hopefully something should move as soon as I go on a break and have a little time for my projects.
Based on the spec.
Basically, it's a matter to implement the detection of the
splice
event inside the dirty checking loop.Array.unobserve
should behave just likeObject.unobserve
.The text was updated successfully, but these errors were encountered: