# HG changeset patch # User Ruslan Ermilov # Date 1325149830 0 # Node ID a1071d0d0979957678df84b1fe7dbd1c2d0bbc36 # Parent 2f318fe954ecc1c963a66bf964710daf0ffb4f4b Slight markup and wording fixes. diff -r 2f318fe954ec -r a1071d0d0979 xml/en/docs/hash.xml --- a/xml/en/docs/hash.xml Thu Dec 29 07:57:44 2011 +0000 +++ b/xml/en/docs/hash.xml Thu Dec 29 09:10:30 2011 +0000 @@ -8,13 +8,14 @@ To quickly process static sets of data such as server names, -map directive's values, mime-types, names of request header strings, + directive's values, +MIME types, names of request header strings, nginx uses hash tables. -During the start and each re-configuration nginx picks out -minimally possible sizes of hash tables such that the bucket size +During the start and each re-configuration nginx selects the +minimum possible sizes of hash tables such that the bucket size that stores keys with identical hash values does not exceed the configured parameter (hash bucket size). -The size of the table is expressed in buckets. +The size of a table is expressed in buckets. The adjustment is continued until the table size exceeds the hash max size parameter. Most hashes have the corresponding directives that allow to change diff -r 2f318fe954ec -r a1071d0d0979 xml/ru/docs/hash.xml --- a/xml/ru/docs/hash.xml Thu Dec 29 07:57:44 2011 +0000 +++ b/xml/ru/docs/hash.xml Thu Dec 29 09:10:30 2011 +0000 @@ -8,7 +8,8 @@ Для быстрой обработки статических наборов данных, таких как имена серверов, -значения директивы map, mime-types, имена строк заголовков запроса, +значения директивы , +MIME-типы, имена полей заголовков запросов, nginx использует хэш-таблицы. Во время старта и при каждой переконфигурации nginx подбирает минимально возможный размер хэш-таблиц с учётом того, чтобы размер корзины,