From e38cb1ceb8c37d9b168ee2dfac66afa7ad3708e3 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Tue, 13 Oct 2026 06:22:49 +0100 Subject: Module executor: events and views empty the values held by name only in a module that holds some (PureModule.held, set at load): the bank's queries had paid for the 32 slots each (field +0.80%, found +0.50%, large +0.54% from s22 to s24) --- core/module.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/module.h') diff --git a/core/module.h b/core/module.h index 8477b86..01bbb53 100644 --- a/core/module.h +++ b/core/module.h @@ -298,6 +298,7 @@ typedef struct { uint32_t batch_plan_count; /* in their loops' order */ struct PureJit *jit; /* its blocks compiled (module-jit.c, docs/design/021), or NULL */ bool batches; /* a loop of it is planned to run in batches (module-batch.c, docs/design/024) */ + bool held; /* it holds bytes or texts by name (BYTES_STORE): events and views empty them as they begin */ PureInputShape input[PURE_MODULE_INPUTS]; PureField field[PURE_MODULE_FIELDS]; PureValue initial[PURE_MODULE_STATES]; -- cgit v1.2.3