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
some APIs will operate on an entire array, and the length needs to be exact. The adjusted API could look like:
varpool=require("typedarray-pool")// Allocate a buffer of 93 bytesvarexactSize=truevarf=pool.malloc(93,"uint8",exactSize)// f.byteLength === 93// When done, release bufferpool.free(f)
exactSize would default to false, to avoid breaking the existing API.
@mikolalysenko I have a PR that is just about ready for this, but I have several questions, which overlap some of the other issues in this tracker. Would you be available to chat on slack or some other more real-time medium? Probably faster than going back and forth in github messaging.
some APIs will operate on an entire array, and the length needs to be exact. The adjusted API could look like:
exactSize
would default to false, to avoid breaking the existing API.@mikolalysenko would you be open to a PR for this?
The text was updated successfully, but these errors were encountered: