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
We use https://github.com/thi-ng/umbrella/tree/master/packages/malloc, with default memory alignment of 8.
That's makes every allocation of minimum 8 bytes, and rounded to the closet multiplication of 8 (overhead!)
We also need do be 8 aligned to be able to read/write 8 bytes data types (Float64, BigInt64) using TypedArray and not DataView.
But maybe we can use 4 bytes alignment, and pad to 8 bytes only when needed?
The text was updated successfully, but these errors were encountered:
We use https://github.com/thi-ng/umbrella/tree/master/packages/malloc, with default memory alignment of 8.
That's makes every allocation of minimum 8 bytes, and rounded to the closet multiplication of 8 (overhead!)
We also need do be 8 aligned to be able to read/write 8 bytes data types (Float64, BigInt64) using TypedArray and not DataView.
But maybe we can use 4 bytes alignment, and pad to 8 bytes only when needed?
The text was updated successfully, but these errors were encountered: