[Tarantool-patches] [PATCH v8 3/4] box/cbox: implement cbox Lua module

Cyrill Gorcunov gorcunov at gmail.com
Sun Nov 1 11:26:20 MSK 2020


On Sun, Nov 01, 2020 at 12:59:46AM +0300, Cyrill Gorcunov wrote:
...
> 
> And I think we should consider moving to xxhash instead
> 
> git at github.com:Cyan4973/xxHash.git
> 
> which shows better result so far. Still as any noncrypto
> hashes it has collissions.

FWIW, I changed Murmur3/32 to xxhash/32 and here are results
---
murmur3
[cyrill at grain cbox] ./hvsrb --mh
mh create diff :               459890 ns
mh lookup diff :               194201 ns

xxhash
[cyrill at grain cbox] ./hvsrb --mh
mh create diff :               421618 ns
mh lookup diff :               123385 ns

lookup works almost twice faster on random data,
creation time is comparable.


More information about the Tarantool-patches mailing list