FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use ArrayBuffers instead of Node Buffer by beeequeue · Pull Request #40 · beeequeue/binary-util · GitHub

Use ArrayBuffers instead of Node Buffer - #40

Draft
beeequeue wants to merge 3 commits into
mainfrom
arraybuffer
Draft

Use ArrayBuffers instead of Node Buffer#40
beeequeue wants to merge 3 commits into
mainfrom
arraybuffer

Conversation

beeequeue commented Feb 1, 2026
edited
Loading

Copy link
Copy Markdown
Owner

this pr uses arraybuffers instead of node's buffers for the operations, allowing browser usage.

im not sure if this is a good idea, i want to at least benchmark both versions to make sure its not ungodly slower

having benchmarked, decoding using buffer is 1.7x faster than using arraybuffers. in browsers it would presumably still be slower with a polyfill

github-actions Bot commented Feb 1, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

e18e dependency analysis

No dependency warnings found.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL