mirror of
https://github.com/FEX-Emu/xxHash.git
synced 2025-02-26 01:36:02 +00:00
added doc
This commit is contained in:
parent
1bfada562c
commit
a1179e2fb6
@ -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).
|
||||
|
2
xxhash.c
2
xxhash.c
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user