Skip to content

feat: do not copy memory when Uint8Array is pushed#48

Open
Gozala wants to merge 1 commit intodignifiedquire:masterfrom
Gozala:patch-1
Open

feat: do not copy memory when Uint8Array is pushed#48
Gozala wants to merge 1 commit intodignifiedquire:masterfrom
Gozala:patch-1

Conversation

@Gozala
Copy link

@Gozala Gozala commented Jun 9, 2020

Current implementation will copy memory if Uint8Array is pushed. Proposed change avoids unnecessary coping by creating a Buffer view of the underlying ArrayBuffer instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants