Optimize the each binding for the keyed arrays
GianlucaGuarini opened this issue · 2 comments
GianlucaGuarini commented
Actually it shouldn't be that hard but I will keep this optimization at the end of the development.
The each binding is really fast but it must be improved in case of huge DOM updates when all the collection items will be moved at same time (array.reverse()
)
GianlucaGuarini commented
The new implementation should be at least 4 times faster in this quick demo
GianlucaGuarini commented
Demo updated http://next.plnkr.co/edit/lkVUANkjvx9p0wh1 - domdiff worked beautifully for this patch