From 68a1987919d18380abd38b0b60f46a5102f0fb2b Mon Sep 17 00:00:00 2001 From: eunhhu Date: Mon, 5 Oct 2026 10:41:18 +0100 Subject: Keep arrays' number columns as narrow as their values (u8, u32, f64; a DENSE list's keys as its slots), open a packed list's slice in code with an integer index, keep a nest of loops' values in registers of their own: BFS core 27.5 to 19.6 ms (022) --- core/module-list.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/module-list.h') diff --git a/core/module-list.h b/core/module-list.h index 0d4d7dc..60bce95 100644 --- a/core/module-list.h +++ b/core/module-list.h @@ -44,6 +44,7 @@ typedef struct { uint8_t taken[16]; unsigned depth; bool pathless; + double cells[16][32]; /* an array's narrow cells as numbers (docs/design/022) */ } PureRun; /* A list holds up to PURE_LIST_ITEMS items, a run up to PURE_LIST_RUN. */ -- cgit v1.2.3