You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var HC = (byte) (XXH32.DigestOf(_buffer16, 0, _index16) >> 8);
and here:
var actualHC = (byte) (Farmhash.Sharp.Farmhash.Hash32(_buffer16, _index16) >> 8);
Ability to use other hash function via some kind of interface, or something like this? For those, who want to use something else than xxhash.
Specifically I would like to use Farmhash here which is faster than xxhash (depends on payload, though).
The text was updated successfully, but these errors were encountered:
Please note that this hash is header hash: it is maximum 16 bytes, but 6 bytes most of the time.
I guess virtual (interface/Func<>) call takes more time than calculating this hash.
If you thinking about block/content hash it is not implemented yet at all (not written/ignored on read) but I'll think about making them pluggable somehow.
@MiloszKrajewski
Hello.
Can you provide here:
var HC = (byte) (XXH32.DigestOf(_buffer16, 0, _index16) >> 8);
and here:
var actualHC = (byte) (Farmhash.Sharp.Farmhash.Hash32(_buffer16, _index16) >> 8);
Ability to use other hash function via some kind of interface, or something like this? For those, who want to use something else than xxhash.
Specifically I would like to use Farmhash here which is faster than xxhash (depends on payload, though).
The text was updated successfully, but these errors were encountered: