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
I think there should be an API for resizing an array. This is useful when you know you are about to insert a large amount of data and you only want one allocation of memory and one memory copy.
This is a followup from a conversation on the array buffer refactor. #8166 (comment)
Pros:
Gives more flexibility in memory allocations and the potential for performance.
Cons:
More APIs to support and is a more advanced feature.
The text was updated successfully, but these errors were encountered:
I think there should be an API for resizing an array. This is useful when you know you are about to insert a large amount of data and you only want one allocation of memory and one memory copy.
This is a followup from a conversation on the array buffer refactor.
#8166 (comment)
Pros:
Gives more flexibility in memory allocations and the potential for performance.
Cons:
More APIs to support and is a more advanced feature.
The text was updated successfully, but these errors were encountered: