Xxhash: What is optimal block size for xxh3 (64 and 128 bit)?

Created on 20 Aug 2020  路  1Comment  路  Source: Cyan4973/xxHash

By the "optimal block size" I mean the amount of bytes that hash may operate more efficiently if all updates are a multiple of this amount. (I didn't find is in docs)

(I am writing go wrapper for xxh3 and the standard library requires this value, for example for sha256 it is 64 bytes)

Thank you.

question

Most helpful comment

The answer to that is XXH3_INTERNALBUFFER_SIZE, which is currently defined to 256.

>All comments

The answer to that is XXH3_INTERNALBUFFER_SIZE, which is currently defined to 256.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vinniefalco picture vinniefalco  路  4Comments

carstenskyboxlabs picture carstenskyboxlabs  路  6Comments

jvriezen picture jvriezen  路  6Comments

shuffle2 picture shuffle2  路  6Comments

WayneD picture WayneD  路  7Comments