summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-12-02 16:50:56 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-12-02 16:50:56 +0000
commit0e32306bab352f8d7855e07188d6e305944240d9 (patch)
tree06ada9576d6234184420b89f8f41eac8adc4ec1c
parent84b7651ac25eb02d4694e8f2757fde5b6a3988c7 (diff)
downloadnginx-0e32306bab352f8d7855e07188d6e305944240d9.tar.gz
fix comment
-rw-r--r--src/core/ngx_radix_tree.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/ngx_radix_tree.c b/src/core/ngx_radix_tree.c
index 050dac061..f339e6fab 100644
--- a/src/core/ngx_radix_tree.c
+++ b/src/core/ngx_radix_tree.c
@@ -42,13 +42,13 @@ ngx_radix_tree_create(ngx_pool_t *pool, ngx_int_t preallocate)
}
/*
- * The preallocation the first nodes: 0, 1, 00, 01, 10, 11, 000, 001, etc.
- * increases the TLB hits even if for the first lookup iterations.
- * On the 32-bit platforms the 7 preallocated bits takes continuous 4K,
- * 8 - 8K, 9 - 16K, etc. On the 64-bit platforms the 6 preallocated bits
+ * Preallocation of first nodes : 0, 1, 00, 01, 10, 11, 000, 001, etc.
+ * increases TLB hits even if for first lookup iterations.
+ * On 32-bit platforms the 7 preallocated bits takes continuous 4K,
+ * 8 - 8K, 9 - 16K, etc. On 64-bit platforms the 6 preallocated bits
* takes continuous 4K, 7 - 8K, 8 - 16K, etc. There is no sense to
* to preallocate more than one page, because further preallocation
- * distributes the only bit per page. Instead, the random insertion
+ * distributes the only bit per page. Instead, a random insertion
* may distribute several bits per page.
*
* Thus, by default we preallocate maximum