On Fri, 30 Jan 2004 13:38:35 -0500
Glenn <[EMAIL PROTECTED]> wrote:
> And what about having directive namespaces to avoid having to search
> all modules for a directive?
That is nothing, we want to avoid. Some directives want to be evaulated by more than
one module (DECLINE_CMD).
> Alternatively, build a hash of directives when modules are loaded,
> which will be a one-time-cost.
In fact. most configuration is already a one time approach (at startup). Together with
the information above a simple hash would be bad, because order is important.
Anyway, it may be interesting to build a hash of
tolower("directive") -> {module1, module2 ...} to speed up htaccess parsing.
nd