Re: PdataStreamIterator bug?

Sidnei da Silva <sidnei-/awGbKECNgO/3pe1ocb+swC/[email protected]> Thu, 25 May 2006 10:41:24 -0300
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <20060525134124.GE5377@cotia>
On Thu, May 25, 2006 at 03:17:35PM +0200, Roché Compaan wrote:
| I've looked at the latest version and I don't quite understand the
| rationale behind the implementation. Why is it necessary to read the
| whole file into a temporary file, if it can be streamed by iterating
| over the Pdata chain. This will keep memory consumption low, and will be
| much more responsive from the clients point of view - waiting for N
| gigabyte to be written to a tempfile first can take a while.

That's what it did before. That broke ExternalEditor. The current
version works with ExternalEditor and keeps the memory low.

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642