windows to linux pickled objects?
fperez528 at yahoo.com
Tue Nov 27 22:06:32 CET 2001
brueckd at tbye.com wrote:
> Binary usually helps, but it can work against you too:
>>>> import pickle
>>>> len(pickle.dumps(5.0, 1))
In very peculiar situations, yes (like if you are storing truncated
data). But in the generic case, it will help.
As always, use what's generically good, and only if it's not enough
look again. Optimize late, later, later...
More information about the Python-list