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
Currently $.for has some performance issues when handling primitives, especially if they could be found in the array multiple times. That should probably be addressed by adding a normalization step that maps primitives to wrapper objects, to get a non-primitive reference for caching purposes.
The text was updated successfully, but these errors were encountered:
fabiospampinato
changed the title
Optimize mapping over primitive values, but assigning a stable wrapper object to each of them
Optimize mapping over primitive values, by assigning a stable wrapper object to each of them
Apr 3, 2024
Currently
$.for
has some performance issues when handling primitives, especially if they could be found in the array multiple times. That should probably be addressed by adding a normalization step that maps primitives to wrapper objects, to get a non-primitive reference for caching purposes.The text was updated successfully, but these errors were encountered: