diff options
| author | eunhhu <[email protected]> | 2026-09-28 20:20:28 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-28 20:20:28 +0100 |
| commit | e08987247a9abf5809064243732246b9a311f7bb (patch) | |
| tree | b3c9c780f3200dc3aab8c4971b15be5730aa4de9 /core/store.h | |
| parent | ac6b67121c81e7adb305fd67b788e31b66c44093 (diff) | |
| download | pure-e08987247a9abf5809064243732246b9a311f7bb.tar.gz pure-e08987247a9abf5809064243732246b9a311f7bb.zip | |
Keep a stream's records in order on a line, handed over as they are
A receiver copied each record into an allocation of its own, copied them
all again into a delivery, and freed each once stored: about 110 ns a
record of 61 bytes. Once the last number heard is known, whole records
that come in order now go onto the stream's line as a delivery carries
them (u32 size, bytes). The line is handed over as it is, and let go by
moving its head; its front is given back when there is no room at its
end. Records that come early or in pieces, or before the last heard is
known, still wait in held, and move onto the line once it reaches them.
The transport alone: the listener took 0.20 us a record of 61 bytes, now
0.15; with the link, 0.31 us a record in all, against quinn's 0.26.
Diffstat (limited to 'core/store.h')
0 files changed, 0 insertions, 0 deletions
