comparison src/core/ngx_radix_tree.c @ 499:64d9afb209da release-0.1.24

nginx-0.1.24-RELEASE import *) Feature: the ngx_http_ssi_filter_module supports the QUERY_STRING and DOCUMENT_URI variables. *) Bugfix: the ngx_http_autoindex_module may some times return the 404 response for existent directory, if this directory was used in "alias" directive. *) Bugfix: the ngx_http_ssi_filter_module ran incorrectly for large responses. *) Bugfix: the lack of the "Referer" header line was always accounted as valid referrer.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 04 Mar 2005 14:06:57 +0000
parents 975f62e77f02
children d4ea69372b94
comparison
equal deleted inserted replaced
498:58fcf570b0cb 499:64d9afb209da
44 * increases the TLB hits even if for the first lookup iterations. 44 * increases the TLB hits even if for the first lookup iterations.
45 * On the 32-bit platforms the 7 preallocated bits takes continuous 4K, 45 * On the 32-bit platforms the 7 preallocated bits takes continuous 4K,
46 * 8 - 8K, 9 - 16K, etc. On the 64-bit platforms the 6 preallocated bits 46 * 8 - 8K, 9 - 16K, etc. On the 64-bit platforms the 6 preallocated bits
47 * takes continuous 4K, 7 - 8K, 8 - 16K, etc. There is no sense to 47 * takes continuous 4K, 7 - 8K, 8 - 16K, etc. There is no sense to
48 * to preallocate more than one page, because further preallocation 48 * to preallocate more than one page, because further preallocation
49 * distribute the only bit per page. Instead, the random insertion 49 * distributes the only bit per page. Instead, the random insertion
50 * may distribute several bits per page. 50 * may distribute several bits per page.
51 * 51 *
52 * Thus, by default we preallocate maximum 52 * Thus, by default we preallocate maximum
53 * 6 bits on amd64 (64-bit platform and 4K pages) 53 * 6 bits on amd64 (64-bit platform and 4K pages)
54 * 7 bits on i386 (32-bit platform and 4K pages) 54 * 7 bits on i386 (32-bit platform and 4K pages)