You could have your custom C extension be called as one of the hooks.
On Wednesday, January 15, 2003, at 09:42 PM, Rasmus Lerdorf wrote:
On Wed, 15 Jan 2003, George Schlossnagle wrote:
You consider running the apache_hooks code? This should be simple
there.
You mean do the filtering straight from a PHP script that gets called
from
a hook? That's a lot of looping through a bunch of arrays. This has
to
happen on every request on the busiest site in the world; it needs to
be
written in C.
You could have your custom C extension be called as one of the hooks.
Shouldn't be any slower than what you proposed.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php