Re: [Zope3-dev] Re: [Zope-dev] Re: Proposal for optimized Blob handling

2007-03-08 Thread Christian Theune
Good point. I'll re-read the spec and will try to integrate that. Am Mittwoch, den 07.03.2007, 22:46 -0500 schrieb Chris McDonough: Note that one micro-optimization for PUT requests is to not use a FieldStorage at all because the body is never mime-encoded anyway in practice. I have a

[Zope-dev] Re: Proposal for optimized Blob handling

2007-03-07 Thread Philipp von Weitershausen
Christian Theune wrote: Hi, [modified slightly from a similar proposal to zope3-dev to match Zope 2's publisher] I'm writing up a proposal for the ZODB to make even more efficient Blob handling possible. This includes not copying the data from an uploaded file, but using a `link` operation

Re: [Zope-dev] Re: Proposal for optimized Blob handling

2007-03-07 Thread Chris McDonough
Note that one micro-optimization for PUT requests is to not use a FieldStorage at all because the body is never mime-encoded anyway in practice. I have a monkey patch to do this now, which I turned into a patch for the core, but took out because Phillipp whined at a sprint once. ;-)