Change default serialization format for serialize
/deserialize
methods to binary
#17108
Labels
accepted
Ready for implementation
enhancement
New feature or an improvement of an existing feature
P-goal
Priority: aligns with long-term Polars goals
Milestone
Our serialization methods currently all work with JSON strings. This is useful as it's human readable and certain protocols will require JSON structures, but we should also have a more optimized binary serialization format.
bincode seems like a good candidate, since it's already in our dependencies.
The intended API would be to add a
format
parameter to (de)serialization methods with the options"json"
and"bincode"
. Other useful formats could potentially be added in the future.The text was updated successfully, but these errors were encountered: