marshal doesn't work with "file-like" objects

Erno Kuusela erno-news at erno.iki.fi
Sun Jan 28 12:52:56 EST 2001


In article <950ab5$2h2$1 at nnrp1.deja.com>, echuck at mindspring.com writes:

| In article <mailman.980557896.25345.python-list at python.org>,
|   Neil Schemenauer <nas at arctrix.com> wrote:
|| Won't cPickle work?

| Yes, but:

| 1. My benchmarks (which I don't have anymore) showed marshal to be MUCH
| faster than cPickle

did you try cPickle's binary mode? it is many times faster than
the default text mode at least on my machine.

  -- erno



More information about the Python-list mailing list