aboutsummaryrefslogtreecommitdiffstats
path: root/core/module-list.h
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-10-05 16:21:59 +0100
committereunhhu <[email protected]>2026-10-05 16:21:59 +0100
commit5cf9dcb47cd0037461782335ba812481363970da (patch)
treee4d344cf2c7e5a92ca9a2396c7038df60b2dbbce /core/module-list.h
parent6cd7f5a415f9286ae4bec58545dccd89a15ef46d (diff)
downloadpure-5cf9dcb47cd0037461782335ba812481363970da.tar.gz
pure-5cf9dcb47cd0037461782335ba812481363970da.zip
The tier's keys and positions in range for every round, checked once where their loop opens (each affine in its round: both ends below the limit), the checks in the round gone; constants in the instructions (add, sub, cmp); one-byte columns widened to four where the tier begins, its loads and stores of four bytes only. roots 14.0 to 14.0 ms, knapsack 38.8 to 16.5, matmul 48.6 to 25.7
Diffstat (limited to 'core/module-list.h')
-rw-r--r--core/module-list.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/module-list.h b/core/module-list.h
index 21b929c..3ae468f 100644
--- a/core/module-list.h
+++ b/core/module-list.h
@@ -150,7 +150,8 @@ bool pure_list_hashed(PureList *);
/* Whether an event's list is as the tier's code reads it (docs/design/023):
* needs 1, found by key: DENSE; 2, read by position: FLAT, or DENSE with
* every key below its count (a key its position); 4, a key's position: the
- * latter; and each field in narrow a number column of one or four bytes.
+ * latter; and each field in narrow a number column of four bytes (one byte
+ * widened to four: the tier reads four, docs/design/023).
* Its full (pure_list_layout's LIST_FULL_AT) then says whether every key
* below its count is there. */
bool pure_list_suits(PureList *, unsigned needs, unsigned narrow);