-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(item-set): don't leak memory when setting groups
This is my attempt at solving #183. There are two key differences when compared to #235: 1. This one actually works better. 2. This one doesn't blindly throw away all listeners. Leaks in my tests (very rough measurements on my device): - Upstream: 3 MB/s - #235: 250 KB/s - This: about 0 KB/s PS: For the tests I used the JSFiddle MWE from @aphix. I just decreased delays to leak more memory in shorter amount of time.
- Loading branch information
Showing
3 changed files
with
45 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters