On January 08, 2004 04:11 pm, Zeev Suraski wrote: > Well, if we really get to save 100K as Ilia imagined, for a thousand > children, it's 100MB, and there are those with more. I doubt we can easily > get 100K though.
'Freeing' 100k is not as difficult as it sounds in PHP 5 when you consider that 4 object files (filters.o 14460, ftp_fopen_wrapper.o 13616, info.o 13868, streamsfuncs.o 13408) make up for more then 1/2. Add (url_scanner_ex.o 12304, var.o 14616 image.o 11432,var_unserializer.o 5984) and you've reduced your php library/binary by 100k. Even so you gain only a 100mb saving (1000 simultaneous apache processes, WOW) per server. Given that 100mb of ram is only about $10 (or less) it seems to me this would be a cheaper solution then having to pay a programmer ($50/hour+) to recompile PHP with obscure options (to reduce memory footprint) on a variety of servers. I won't even go into the loss of functionality that maybe needed later. Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php