diff options
| author | eunhhu <[email protected]> | 2026-10-18 19:30:16 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-10-18 19:30:16 +0100 |
| commit | b22b8c3f6c5378b47c36370225d7c41d4394bb7c (patch) | |
| tree | d1a3cbf1b0e718f0acafa08ec6741761f08e5dd5 /core/module-store.h | |
| parent | e8b3499289022c8729900a58ed218d961a85fec8 (diff) | |
| download | pure-b22b8c3f6c5378b47c36370225d7c41d4394bb7c.tar.gz pure-b22b8c3f6c5378b47c36370225d7c41d4394bb7c.zip | |
Module format v7, 027's 4b-2: keyed documents gone, a keyed list of records holding bytes doing their work: no collections table, DOC, DOC_SIZE or REPLACE (106 opcodes now 103, those from LEN on moved up), keyed messages or a base revision (pure_app_message takes an input and a payload), no PureData document callbacks (a data host opens states and saves them together), no burst by document key; the header 38 bytes; pure-edit-module gone; pure-serve without /objects, ETag, If-Match and If-None-Match, 412 or an app a thread for a module of documents alone (one without states or outputs runs so); a hole closed: an instruction in no handler's, view's or function's block was never verified yet the load's later passes read its arguments (a damaged module read out of bounds once the header moved what the mutation test damaged), now blanked to CONST 0; checks moved: server_documents (DOCS_SOURCE, keyed byte documents with the app's revision, against a Python model, one and three connection threads, a restart) in place of the parity with editor.pure, pipelining and bursts through kill -9 on its inputs and views, the lent budget on a text view (lending a document's read is server_lent_views' already), clocks and tokens on it; message tests without a document host; the HTTP benchmark's document suite runs the earlier document server and the baselines alone; the count harness builds against either message API (runs.sh build: -DPURE_KEYED_MESSAGES before 4b); counts: b33 against b32 with batches within 0.002% but BFS -0.33%, without batches BFS +0.63%, knapsack +0.52%, join +0.38%; the bank's queries (s32 on a v6 module, s33 on v7) field +0.68%, found +0.44%, large +0.42%, the rest within 0.13%; 008 as v7, 027's 4b-2 as made and 4c designed
Diffstat (limited to 'core/module-store.h')
| -rw-r--r-- | core/module-store.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/core/module-store.h b/core/module-store.h index d14ab3d..fd5bc6b 100644 --- a/core/module-store.h +++ b/core/module-store.h @@ -1,11 +1,9 @@ #ifndef PURE_MODULE_STORE_H #define PURE_MODULE_STORE_H #include "module.h" -/* Keyed module collections and the app's states on the selected tree store: - * one event opens the message key as a held draft and commits it together - * with the states the event changed. The path outlives the app. */ +/* The app's states on the selected tree store, each save one commit. The path outlives the app. */ PureData pure_tree_data(const char *path); -/* The same through a store handle (state.h): opening a document or state - * checks only whether the store changed. The handle outlives the app. */ +/* The same through a store handle (state.h): opening a state checks only whether the store changed. The handle outlives + * the app. */ PureData pure_store_data(PureStore *); #endif |
