]> git.kaiwu.me - nginx.git/commitdiff
fix comment
authorIgor Sysoev <igor@sysoev.ru>
Fri, 12 Jan 2007 18:05:41 +0000 (18:05 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 12 Jan 2007 18:05:41 +0000 (18:05 +0000)
src/core/ngx_crc32.c

index 4ad8ff3a47dbbba6b345e6fe40577d50d18f154f..64b02ac7a69d2328f1e76779ced62ff9685a3226 100644 (file)
  * described at http://www.w3.org/TR/PNG/
  *
  * The 256 element lookup table takes 1024 bytes, and it may be completely
- * cached after processing about 30-60 bytes.  So for short messages
+ * cached after processing about 30-60 bytes of data.  So for short data
  * we use the 16 element lookup table that takes only 64 bytes and align it
  * to CPU cache line size.  Of course, the small table adds code inside
- * CRC32 cycle, but cache misses overhead is bigger than overhead of
- * the additional code.  For example, ngx_crc32_short() of 16 byte message
+ * CRC32 loop, but the cache misses overhead is bigger than overhead of
+ * the additional code.  For example, ngx_crc32_short() of 16 bytes of data
  * takes half as much CPU clocks than ngx_crc32_long().
  */