[−][src]Crate t1ha
t1ha = { Fast Positive Hash, aka "Позитивный Хэш" } by Positive Technologies
Briefly, it is a 64-bit Hash Function:
- Created for 64-bit little-endian platforms, in predominantly for x86_64, but portable and without penalties it can run on any 64-bit CPU.
- In most cases up to 15% faster than City64, xxHash, mum-hash, metro-hash and all others portable hash-functions (which do not use specific hardware tricks).
- Not suitable for cryptography.
The Future will Positive. Всё будет хорошо.
ACKNOWLEDGEMENT: The t1ha was originally developed by Leonid Yuriev (Леонид Юрьев) for The 1Hippeus project - zerocopy messaging in the spirit of Sparta!
Structs
T1haHasher | An implementation of the |
T1ha2Hasher | An implementation of |
Functions
t1ha0 |
|
t1ha1_be | The big-endian variant for 64-bit CPU. |
t1ha1_le | The little-endian variant for 64-bit CPU. |
t1ha1 | The little-endian variant for 64-bit CPU. |
t1ha2_atonce | The at-once variant with 64-bit result |
t1ha0_32be | The big-endian variant for 32-bit CPU. |
t1ha0_32le | The little-endian variant for 32-bit CPU. |
t1ha0_32 | The little-endian variant for 32-bit CPU. |
t1ha2_atonce128 | The at-once variant with 128-bit result. |
Type Definitions
T1haBuildHasher | A builder for default |
T1haHashMap | A |
T1haHashSet | A |