Mercurial > hg
diff mercurial/copies.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 | 642e31cb55f0 |
children | 493034cc3265 |