Binary pickle portability

Fred L. Drake fdrake at cnri.reston.va.us
Tue Jun 29 21:10:33 CEST 1999


Olaf Delgado writes:
 > After looking a bit closer, I found that the problem is probably related
 > to the Numeric module (i.e., pickling matrices) and doesn't depend on
 > whether binary or ordinary mode is used. So please don't bother now!
 > Still, I am interested in whether people use binary pickles.

  The last release of Grail uses binary pickles to store caches of
parsed bookmark files.  There are no floating point or NumPy objects
in the pickles, so that wouldn't test cases you may be interested in.
My choice to use binary pickles was entirely based on the performance
improvement; I doubt there are any substantial cross-platform issues
for bookmark files, especially when only used as caches!


  -Fred

--
Fred L. Drake, Jr.	     <fdrake at acm.org>
Corporation for National Research Initiatives




More information about the Python-list mailing list