Commits

Chris Mutel  committed 66516d1

Documentation on pickle instead of numpy.tofile

  • Participants
  • Parent commits 0f24e1a

Comments (0)

Files changed (1)

File bw2data/database.py

 
 Processed arrays are saved in the ``processed`` directory.
 
+Uses ``pickle`` instead of the native NumPy ``.tofile()``. Although pickle is ~2 times slower, this difference in speed has no practical effect (e.g. one twentieth of a second slower for ecoinvent 2.2), and the numpy ``fromfile`` and ``tofile`` functions don't preserve the datatype of structured arrays.
+
 The structure for processed inventory databases includes additional columns beyond the basic ``stats_arrays`` format:
 
 ================ ======== ===================================