https://issues.apache.org/bugzilla/show_bug.cgi?id=18500

--- Comment #9 from Christopher Schultz <ch...@christopherschultz.net> 
2011-09-26 19:10:58 UTC ---
Suffix-matching would certainly be faster than regular expression matching, but
it has the same problems the regex's have with not being sortable, etc.

Suffix-matching seems (to me) to be much more practically useful than complete
regular-expression support, but I always just use a single default host, so
what do I know?

I just wouldn't watch to mix-and-match too many name-matching styles or things
are going to get seriously ridiculous (exact-match, then suffix-match, then
regex-match, then what next?).

I do agree that keeping the existing code in there is a good thing: most folks
don't need regex-matching and so the binary search is a good implementation.
The question is how many other strategies are worth implementing /after/ an
exact-match is not found?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to