Re: Apache::Registry - String Compaction == Less RAM?

2003-07-15 Thread Stas Bekman
Perrin Harkins wrote: On Mon, 2003-07-07 at 11:50, Nigel Hamilton wrote: I thought I could save some RAM by stripping out comments and whitespace before the eval step - so I quickly wrote a Registry-like handler that strips comments. Those don't take up any space in the actual compiled

Re: Apache::Registry - String Compaction == Less RAM?

2003-07-15 Thread Stas Bekman
[sent it out too early] Stas Bekman wrote: Also see: http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlResponseHandler __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl

Apache::Registry - String Compaction == Less RAM?

2003-07-07 Thread Nigel Hamilton
Hi, Apache::Registry slurps in your Perl modules as strings and then evals them. I thought I could save some RAM by stripping out comments and whitespace before the eval step - so I quickly wrote a Registry-like handler that strips comments. Alas, the experiment failed -

Re: Apache::Registry - String Compaction == Less RAM?

2003-07-07 Thread Perrin Harkins
On Mon, 2003-07-07 at 11:50, Nigel Hamilton wrote: I thought I could save some RAM by stripping out comments and whitespace before the eval step - so I quickly wrote a Registry-like handler that strips comments. Those don't take up any space in the actual compiled opcodes. The only