no need to reset xxhash.memory.