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

Consider using messagepack as alternative to JSON or pickles #1

Closed
aleksandra-kim opened this issue Dec 30, 2012 · 1 comment
Closed
Labels
enhancement New feature or request minor

Comments

@aleksandra-kim
Copy link
Member

Original report by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


Based on tests on my laptop, it is ~33% faster and uses less space. The two issues are:

  1. Strings would have to be decoded from raw bytes to Unicode
  2. Another dependency, which would have to be installed using easy_install on windows (because it is a binary egg)

The advantages are:

  1. Speed (especially on Windows, where a fast JSON parser might not be installed)
  2. A safe file format to move between computers (as opposed to pickles)

See also:

@aleksandra-kim
Copy link
Member Author

Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


This isn't changing any time soon. Section added to documentation.

@aleksandra-kim aleksandra-kim added minor enhancement New feature or request labels Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor
Projects
None yet
Development

No branches or pull requests

1 participant