diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-23 18:20:05 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 18496a371a2204e8c1b448921a87108f4aa7ada3 (patch) | |
| tree | a2a0882c46882f40cd00906e59f52a0a0118a794 /include/cnn1986_treap_cache.h | |
| parent | 2439dc2ab6a6c2a840c2d2c1deb3949b7b88f415 (diff) | |
Attempting Zobrist hashing
Diffstat (limited to 'include/cnn1986_treap_cache.h')
| -rw-r--r-- | include/cnn1986_treap_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cnn1986_treap_cache.h b/include/cnn1986_treap_cache.h index 292e9c5..92208b2 100644 --- a/include/cnn1986_treap_cache.h +++ b/include/cnn1986_treap_cache.h @@ -1,12 +1,12 @@ #include <stdlib.h> #include <stdint.h> #include <tak.h> +#include <xorshift64.h> extern uint32_t cnn1986_num_cached; -extern uint32_t cnn1986_max_num_cached; int cnn1986_cache_init(void); void cnn1986_cache_free(void); -int cnn1986_cache_seek(float *out_result); -int cnn1986_cache_insert(float in_result); +int cnn1986_cache_seek(const uint64_t key, float *out_result); +int cnn1986_cache_insert(const uint64_t key, const float in_result); |
