1. Chris Mutel
  2. brightway2-data
Issue #1 resolved

Consider using messagepack as alternative to JSON or pickles

Chris Mutel
repo owner created an issue

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:

Comments (1)

  1. Log in to comment