perf(Scope): use remove the need for the extra watch in $watchGroup
Instead of using a counter and an extra watch, just schedule the reaction function via . This gives us the same/similar ordering and coalecsing of updates as counter without the extra overhead. Also the code is easier to read. Since interpolation uses watchGroup, this change additionally improves performance of interpolation. In large table benchmark digest cost went down by 15-20% for interpolation. Closes #8396
I
Igor Minar committed
3f0e642eefcbbb315839c4456ba6ac029a7b8a20
Parent: 1a05daf
Committed by rodyhaddad <rody@rodyhaddad.com>
on 8/15/2014, 10:53:51 PM