Mercurial > hg > nginx-site
diff xml/en/docs/hash.xml @ 625:af3f38e349eb
Removed terminal whitespace and fixed apostrophes used.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Sat, 11 Aug 2012 04:55:25 +0000 |
parents | 764fbac1b8b4 |
children | d1446e47d17d |
line wrap: on
line diff
--- a/xml/en/docs/hash.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/hash.xml Sat Aug 11 04:55:25 2012 +0000 @@ -14,7 +14,7 @@ <para> To quickly process static sets of data such as server names, -<link doc="http/ngx_http_map_module.xml" id="map"/> directive's values, +<link doc="http/ngx_http_map_module.xml" id="map"/> directive’s values, MIME types, names of request header strings, nginx uses hash tables. During the start and each re-configuration nginx selects the @@ -32,10 +32,10 @@ <para> The hash bucket size parameter is aligned to the size that is a -multiple of the processor's cache line size. This speeds up +multiple of the processor’s cache line size. This speeds up key search in a hash on modern processors by reducing the number of memory accesses. -If hash bucket size is equal to one processor's cache line size +If hash bucket size is equal to one processor’s cache line size then the number of memory accesses during the key search will be two in the worst case—first to compute the bucket address, and second during the key search inside the bucket.