From 7e58eadab1678d794344a0b14c7872296f585f96 Mon Sep 17 00:00:00 2001 From: tslil Date: Sat, 3 Jul 2021 16:17:27 -0400 Subject: experimenting with a lazy queue implementation presently it's not correct --- include/tt_llcht.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/tt_llcht.h') 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 -- cgit v1.2.3