mverleg / pyjson_tricks

Extra features for Python's JSON: comments, order, numpy, pandas, datetimes, and many more! Simple but customizable.
Other
154 stars 23 forks source link

Store ndarrays in compact format #72

Closed mverleg closed 4 years ago

mverleg commented 4 years ago

As described in issue #9

For self-contained, compliant json, the solution will be base-encoding of binary array data.

Current plan:

Initial solution was base85, but performance tests show it is 27x slower to encode, so it will probably be changed to base64.

mverleg commented 4 years ago

There's a prototype, but it still needs a lot of test coverage