aboutsummaryrefslogtreecommitdiffstats
path: root/core/module.h
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-10-13 06:22:49 +0100
committereunhhu <[email protected]>2026-10-13 06:22:49 +0100
commite38cb1ceb8c37d9b168ee2dfac66afa7ad3708e3 (patch)
tree9bcf90c07a82b4fbf20ec020884b39a7179d70d4 /core/module.h
parente0276bfa9fd4bb418d0f82e12f09069629185863 (diff)
downloadpure-e38cb1ceb8c37d9b168ee2dfac66afa7ad3708e3.tar.gz
pure-e38cb1ceb8c37d9b168ee2dfac66afa7ad3708e3.zip
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)
Diffstat (limited to 'core/module.h')
-rw-r--r--core/module.h1
1 files changed, 1 insertions, 0 deletions
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];