[Tickets #3359] Re: Make use of streams for speed and memory efficiency

bugs@bugs.horde.org bugs at bugs.horde.org
Sun Feb 4 17:04:46 PST 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3359
-----------------------------------------------------------------------
 Ticket             | 3359
 Updated By         | Chuck Hagenbuch <chuck at horde.org>
-Summary            | Look in to using imap_savebody when it's available
+Summary            | Make use of streams for speed and memory efficiency
 Queue              | IMP
 Version            | HEAD
 Type               | Enhancement
-State              | Accepted
+State              | Stalled
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


Chuck Hagenbuch <chuck at horde.org> (2007-02-04 17:04) wrote:

For instance, imap_savebody can take a stream, and if we need to do
decoding, the most common cases can be handled by the base64 and
quoted-printable stream filters:
http://www.php.net/manual/en/filters.convert.php

Some compression can be done on streams as well:
http://us2.php.net/manual/en/wrappers.compression.php

(there's a reader stream for zip, not sure about write support)

All of this will take some significant re-jiggering of the MIME libs, but
I think it's worth it to focus on streams and other newer PHP features
that'll help us save memory and speed in the MIME rewrite. I'm moving this
to a Horde 4 milestone and to the framework queue because of that.




More information about the bugs mailing list