We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can I switch to something like JSON and keep it generic? Is there a method I can implement on my agate objects to ensure they serialize correctly?
http://www.benfrederickson.com/dont-pickle-your-data/ https://kovshenin.com/2010/pickle-vs-json-which-is-faster/ http://matthewrocklin.com/blog/work/2015/03/16/Fast-Serialization/
The text was updated successfully, but these errors were encountered:
Should probably stay with pickle so things continue to work with other libraries, but may just be able to pickle less stuff from agate classes:
https://docs.python.org/3/library/pickle.html#pickling-class-instances
Sorry, something went wrong.
Should probably also be explicit about pickle protocols:
https://docs.python.org/3.5/library/pickle.html#data-stream-format
I don't see anything that can be avoided in the pickling. If it's going to be faster it's gonna have to be by finding a faster serializer.
Pickle is much faster in Python 3.8+.
onyxfish
No branches or pull requests
Can I switch to something like JSON and keep it generic? Is there a method I can implement on my agate objects to ensure they serialize correctly?
http://www.benfrederickson.com/dont-pickle-your-data/
https://kovshenin.com/2010/pickle-vs-json-which-is-faster/
http://matthewrocklin.com/blog/work/2015/03/16/Fast-Serialization/
The text was updated successfully, but these errors were encountered: