Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce size of Buffer polyfills #160

Open
4 tasks
pi0 opened this issue Jan 3, 2024 · 0 comments
Open
4 tasks

Reduce size of Buffer polyfills #160

pi0 opened this issue Jan 3, 2024 · 0 comments

Comments

@pi0
Copy link
Member

pi0 commented Jan 3, 2024

The Buffer polyfill we provided, is a much more compacted version of browserify Buffer that is used in most of the other implementations.

Although I have previously spend some time to optimize it, I belive it can be furhor more optimized in terms of both size and performance by migrating to more modern native APIs.

Steps:

  • Add test suite for Buffer
  • Enable typecheck on all buffer related files
  • Get rid of old browser/js compact syntax and workarounds
  • Investigate native integrations

(if you like to contribute, separate PR is welcome for each top-down ❤️ )

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

No branches or pull requests

1 participant