about summary refs log tree commit diff
path: root/third_party/lisp/flexi-streams.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-01-26T20·40+0100
committersterni <sternenseemann@systemli.org>2022-02-02T20·47+0000
commitc3cf66f248d5b721629d3cb5293d6f1bd1358a43 (patch)
treec10c2a9b46fb02ddcdd70f7bce205b3e8a7c37e3 /third_party/lisp/flexi-streams.nix
parent56ec3b1803ed91b5b39ec001ff99d147d44f5e6d (diff)
feat(3p/lisp/mime4cl): cache offset in delimited-input-stream r/3749
By computing the amount the stream position advanced we can save a
syscall on every read which speeds up mime:mime-body-stream by /a lot/,
e.g. extracting a ~3MB attachment drops from over 15s to under ~0.5s.
There's still a lot to be gained and correctness left to be desired
which can be addressed as described in the newly added comment.

Change-Id: I5e1dfd213aac41203f271cf220db456dfb95a02b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5073
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'third_party/lisp/flexi-streams.nix')
0 files changed, 0 insertions, 0 deletions