]> granicus.if.org Git - apache/commit
The ap_add_input_filter/ap_add_output_filter functions do an O(n) scan
authorJustin Erenkrantz <jerenkrantz@apache.org>
Tue, 4 Sep 2001 06:50:52 +0000 (06:50 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Tue, 4 Sep 2001 06:50:52 +0000 (06:50 +0000)
commit4c59c0cfdc1882b6571272035e66223a8068ecfa
tree8a3017d7d9e04528c76004e5ccf0b197a29125fe
parenta86388e61a8edac1a7c22201e1069b1d061e0c32
The ap_add_input_filter/ap_add_output_filter functions do an O(n) scan
through the list of registered filters.  This patch replaces the linear
list with a hash table for better performance.
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90888 13f79535-47bb-0310-9956-ffa450edef68
server/util_filter.c