Re: Ability to lower PHP memory usage
| From: | Andi Gutmans | Date: | Thu, 08 Jan 2004 17:06:09 +0000 |
| Subject: | Re: Ability to lower PHP memory usage | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6855@lists.php.net to get a copy of this message | ||
At 06:43 PM 1/8/2004 +0200, Jani Taskinen wrote:
On Thu, 8 Jan 2004, Wez Furlong wrote:
As Stas mentioned, I'm not sure that this is a good idea, unless
we split some of these things out of ext/standard and into their
own extensions; ext/std_regex, ext/std_string (for levenstein, soundex,
metaphone etc.), ext/std_hash (crc32, sha1) and have those extensions
compiled in by default.
IIRC, Jani was hoping for something like this a while back.
I was thinking about it for increasing the maintainability
of ext/standard, not to reduce the size of the binary.
Again, I am talking about having them compiled in by default. I wouldn't want to change that. However, for people who host their own application on a dedicated server, I want them to have the ability to use a stripped down version of PHP.
And although code might be changed, the RINIT's of all sorts of functions to lead to copy-on-writes in all sorts of situations.
I see no reason not to implement this because it doesn't change the default build one bit.
Andi