aboutsummaryrefslogtreecommitdiffstats
path: root/docs/design/check-abi-layout.py
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-26 06:34:39 +0100
committereunhhu <[email protected]>2026-09-26 06:34:39 +0100
commite7a2d8a6715ab48f887acfe1d14e32099e0ed7ff (patch)
treed57e26614f5ffd4a996955ff24e4dc735f6bd510 /docs/design/check-abi-layout.py
parent9408c57e0f2485fd7960135c931aa120dcb3fa8f (diff)
downloadpure-e7a2d8a6715ab48f887acfe1d14e32099e0ed7ff.tar.gz
pure-e7a2d8a6715ab48f887acfe1d14e32099e0ed7ff.zip
Lend stored extents to reads instead of copying them
A read of a stored document now answers with the store mapping's extents through writev, without copying the document. pure_draft_mapping takes a reference to the mapping a draft opened through a handle reads from; the answer keeps it until the last byte is sent, so the version read goes out intact even if the document changes or a compaction replaces the file meanwhile. Replies the mapping does not hold are copied as before. pure-serve's output is now a list of extents (the head first). One thread serves 2,761 1 MiB reads per second (axum: 1,380) and 128k small ones.
Diffstat (limited to 'docs/design/check-abi-layout.py')
0 files changed, 0 insertions, 0 deletions