Skip to content

reduce copies in bjson encode - #267

Merged
justjake merged 1 commit into
justjake:mainfrom
xnacly:bjson-encode-no-copy
Jul 23, 2026
Merged

reduce copies in bjson encode#267
justjake merged 1 commit into
justjake:mainfrom
xnacly:bjson-encode-no-copy

Conversation

@xnacly

@xnacly xnacly commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Hand the JS_WriteObject buffer to the ArrayBuffer via JS_NewArrayBuffer instead of copying it with JS_NewArrayBufferCopy.

Hand the JS_WriteObject buffer to the ArrayBuffer via JS_NewArrayBuffer
instead of copying it with JS_NewArrayBufferCopy.
@justjake
justjake enabled auto-merge (squash) July 23, 2026 20:58
@justjake
justjake merged commit 7b7af98 into justjake:main Jul 23, 2026
1 check passed
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