Hello,

On 5/7/06, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote:

What impact would it have on the speed of input processing if it is
always there, but not doing anything? I'd prefer to avoid adding
extra overhead for something that does nothing by default, we have
enough performance issues as is in 5.X. Pierre and Derick are telling
me that if the RAW filter is enabled it won't touch the data so
perhaps that's the route we should take, but I'd definitely like to
see before & after benchmarks.

The current code calls the sapi filter, no matter if the filter is set
to UNSAFE_RAW (data unchanged) or not.

I already tested an alternative solution. It is possible to do not
register the sapi filter and use  PG(http_globals)[...] directly in
input_get (and input_get_args). Doing so will minimize any possible
performance impact.

--Pierre

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to