Re: marshal.dumps quadratic growth and marshal.dump not allowing file-like objects

2008-06-15 Thread bkustel
On Jun 15, 3:16 am, John Machin <[EMAIL PROTECTED]> wrote: > But that change went into the svn trunk on 11-May-2008; perhaps the OP > is using a production release which would have the previous version, > which is merely "newsize = size + 1024;". > > Do people really generate 32MB pyc files, or is

marshal.dumps quadratic growth and marshal.dump not allowing file-like objects

2008-06-15 Thread bkustel
I'm stuck on a problem where I want to use marshal for serialization (yes, yes, I know (c)Pickle is normally recommended here). I favor marshal for speed for the types of data I use. However it seems that marshal.dumps() for large objects has a quadratic performance issue which I'm assuming is tha