>>>>> "Sean" == Sean Chittenden <[EMAIL PROTECTED]> writes:

Sean>   Mind if I ask a nit-pick of a performance question?  Currently
Sean> speed and performance are of upmost importance (I'm currently involved in
Sean> a mod_perl vs JServ development race).  That being said, isn't pushing a
Sean> handler onto the request stack slower than predefining a handler that the
Sean> request falls through to?  I could be wrong and haven't tested things
Sean> otherwise, but, it would seem like pushing a custom handler (granted it's
Sean> already compiled into byte-code) onto the stack at the time of the request
Sean> would take slightly longer.  I suppose I'd be who of me to test this
Sean> assertion, but if you have any idea as to wether or not this case ahead of
Sean> time, I'd be greatly interested in hearing about your past experience.

I think if you already set the handler, then when it comes to
MIME-checking phase, you get a quick no-op.  Thus, having the Trans
phase set the handler is going to be much faster.  My guess.  Try it and see.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to