diff options
| author | eunhhu <[email protected]> | 2026-10-18 18:25:17 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-10-18 18:25:17 +0100 |
| commit | 531200a6c24842784fad68102878c3ab77391b13 (patch) | |
| tree | 7e7816ad2db16fa699127d446c0fc539c3a62f98 /core/module-run.h | |
| parent | 9f17dd667c3282aa28d6b3961eda28e592961478 (diff) | |
| download | pure-531200a6c24842784fad68102878c3ab77391b13.tar.gz pure-531200a6c24842784fad68102878c3ab77391b13.zip | |
Module executor and pure-serve: 027's 4a, a message's rows holding lists: rows whose records hold lists are read, as the message arrives, by stage 3's decoder into the event's lists (value_take into the rows' list), the event beginning with them; the JSON edge reads an object's array as its record's objects, 64 lists deep at most (items_of: an item's lists encoded first and the item moved down over them); the load no longer refuses them; a hole closed: the decoder read past the end where fewer than 4 bytes were left for a length (size - at - 4 wrapped around), unseen while it read only what was stored; unit test nested_rows (three events, four rows not whole changing nothing); check server_trees (300 random forests over HTTP against a Python model walking them in the same order, a require refusing some, a list field not an array, a field the record lacks and 65 lists deep refused, a restart); counts: b30 against b29 within 0.001% but BFS with batches +0.12%, the bank's queries -0.00% to +0.23%; 027's stage 4 planned in six steps (4a to 4f, the counts it starts from, 4b in two commits) and 4a as made; 008 on nested rows
Diffstat (limited to 'core/module-run.h')
| -rw-r--r-- | core/module-run.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/module-run.h b/core/module-run.h index 4ae94a4..2ad87c6 100644 --- a/core/module-run.h +++ b/core/module-run.h @@ -102,6 +102,7 @@ typedef struct { PureValue *locals; /* the event's locals (a handler's, and what runs in it), or NULL */ bool arguments; /* FIELD reads the arguments given for a view, not the message */ bool modified, exists; + bool nested; /* its rows made some of the event's lists in records (027's 4a): the event begins with them */ uint32_t (*spans)[2]; /* a message's variable fields: start and size in the payload */ } Event; |
