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 - I saw no difference in RAM usage at 
all! 

        I suspect that mod_perl is stripping them for me. But isn't a
large string allocated in RAM prior to the eval?

        Are there any merits in a comment stripping pre-processing step 
in a Registry-like handler?     


NIge

-- 
Nigel Hamilton
Turbo10 Metasearch Engine

email:  [EMAIL PROTECTED]
tel:    +44 (0) 207 987 5460
fax:    +44 (0) 207 987 5468
________________________________________________________________________________
http://turbo10.com              Search Deeper. Browse Faster.

Reply via email to