c3cf66f248
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> |
||
---|---|---|
.. | ||
test | ||
.skip-subtree | ||
address.lisp | ||
default.nix | ||
endec.lisp | ||
mime.lisp | ||
mime4cl-tests.asd | ||
mime4cl.asd | ||
OWNERS | ||
package.lisp | ||
README | ||
streams.lisp |
MIME4CL is a Common Lisp library for dealing with MIME messages. It has originally been written by Walter C. Pelissero and vendored into depot as upstream has become inactive and provides no repo of any kind. Upstream and depot version may diverge. Upstream Website: http://wcp.sdf-eu.org/software/#mime4cl Vendored Tarball: http://wcp.sdf-eu.org/software/mime4cl-20150207T211851.tbz