mirror of
https://github.com/Xahau/xahaud.git
synced 2026-07-26 16:40:09 +00:00
We're currently calling `XXH3_createState` and `XXH3_freeState` when hashing an object. However, it may be slow because they call `malloc` and `free`, which may affect the performance. This change avoids the use of the streaming API as much as possible by using an internal buffer.