[dev] Re: [cvs] commit: horde/lib/MIME Contents.php
Michael M Slusarz
slusarz at bigworm.colorado.edu
Wed Jan 8 12:08:12 PST 2003
Quoting Chuck Hagenbuch <chuck at horde.org>:
| chuck 2003/01/08 10:54:39 PST
|
| Modified files:
| lib/MIME Contents.php
| Log:
| - md5() just wastes time here.
| - use reference
|
| Revision Changes Path
| 1.45 +4 -4 horde/lib/MIME/Contents.php
|
| Chora Links:
| http://cvs.horde.org/diff.php/horde/lib/MIME/Contents.php?
r1=1.44&r2=1.45&ty=u
Is there any limit to the length of an array key then? I could see a case
where serializing a MIME_Part object might result in a 1 MB key (e.g. there
is 1 MB of data in the contents of a MIME_Part object) - it seems like an
awful load on the system to allocate 1 MB of memory for a single key...
MD5 is nice simply because it allows a nice, 32 byte key.
michael
______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
More information about the dev
mailing list