added doc

This commit is contained in:
Yann Collet 2019-07-03 16:11:51 -07:00
parent 1bfada562c
commit a1179e2fb6
2 changed files with 2 additions and 1 deletions

View File

@ -72,6 +72,7 @@ they modify xxhash behavior. They are all disabled by default.
It's especially effective when key length is a compile time constant,
with observed performance improvement in the +200% range .
See [this article](https://fastcompression.blogspot.com/2018/03/xxhash-for-small-keys-impressive-power.html) for details.
- `XXH_REROLL` : reduce size of generated code
- `XXH_ACCEPT_NULL_INPUT_POINTER` : if set to `1`, when input is a null-pointer,
xxhash result is the same as a zero-length key
(instead of a dereference segfault).

View File

@ -87,7 +87,7 @@
#endif
/*!XXH_REROLL:
* Whether to reroll XXH32_finalize, XXH64_finalize, and XXH3's accumulate loop
* Whether to reroll XXH32_finalize, and XXH64_finalize,
* instead of using an unrolled jump table/if statement loop.
*
* This is automatically defined on -Os/-Oz on GCC and Clang. */