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
Last time I checked the current reusify implementation was the one that yielded the best results due to the reduced allocations/gc pressure. Usually linked lists or arrays store two objects, one for the node of the list and one for the properties you want to contain. Reusify collapses those into one single object, cutting in half the allocations.
I've not optimized the promise version as much so there is plenty of optimizations potential there, PRs are welcomed.
Here are some performance ideas based on a cursory glimpse of the code based on perf work from bluebird:
The text was updated successfully, but these errors were encountered: