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

Add native MsgPack encoder and decoder #12075

Open
ghost opened this issue Jun 23, 2024 · 1 comment
Open

Add native MsgPack encoder and decoder #12075

ghost opened this issue Jun 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Jun 23, 2024

What is the problem this feature would solve?

JSON is large because contains redundant characters and isn't binary

What is the feature you are proposing to solve the problem?

Implement native MsgPack module/functions. MsgPack is fast and small because it's binary and it has structures

What alternatives have you considered?

msgpackr package. It's faster then JSON in Node, but slower in Bun

image
@ghost ghost added the enhancement New feature or request label Jun 23, 2024
@unbiased-dev
Copy link

Would you mind adding a gist with your test to check if anything has improved indirectly with the newer bun versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant