httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Rolle <...@php.net>
Subject Re: r->filename.
Date Sat, 25 Oct 2003 16:31:06 GMT
I'm suggesting my thoughts on the cleaner grand scheme.

Example:

mod_foo calls mod_bar.

Called routine mod_bar checks for r->filename == NULL 10 times.

Solution:
put the r->filename == NULL check in mod_foo once before calling mod_bar
and eliminate the 10 check in mod_bar.

Percolate up.

Is this a possible solution, or do I need to get a clue?

Ted

Mime
View raw message