aboutsummaryrefslogtreecommitdiff
path: root/include/tt_llcht.h
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2021-07-03 16:17:27 -0400
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit7e58eadab1678d794344a0b14c7872296f585f96 (patch)
tree452fc5adce15dadc6a703d93dd8894e473ca3060 /include/tt_llcht.h
parent07c5dded49d5943f54cca0c75a7a93a30ee2f323 (diff)
experimenting with a lazy queue implementationlazy_queue
presently it's not correct
Diffstat (limited to 'include/tt_llcht.h')
-rw-r--r--include/tt_llcht.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tt_llcht.h b/include/tt_llcht.h
index 377de10..c1151a0 100644
--- a/include/tt_llcht.h
+++ b/include/tt_llcht.h
@@ -35,7 +35,8 @@ typedef struct tt_node_s {
enum TT_FLAG flag;
uint8_t depth;
float value;
- action_t action;
+ action_t best;
+ // action_lq_t *lq;
} tt_entry_t;
// ===================================================================
@@ -55,6 +56,6 @@ tt_entry_t *tt_seek(const uint64_t key);
int tt_insert(const uint64_t key, const enum TT_FLAG flag,
const uint8_t depth, const float value,
- const action_t action);
+ const action_t best);
#endif