Mercurial > hg
diff mercurial/revlog.py @ 50508:39ed7b2953bb
rust: mostly avoid streaming zstd decompression
Streaming ZStd decompression seems slightly slower, and
the API we use makes it very inconvenient to re-use the
decompression context.
Instead of using that, use the buffer-backed version,
because we can give a reasonable-ish size estimate.
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 18 May 2023 17:53:17 +0100 |
parents | 814f55775b21 |
children | 5ae124310ab0 |