Mercurial > hg
comparison mercurial/copies.py @ 52308:7756494c5ecd
rust-inner-revlog: cache the compressor
The `compress` function is unlikely to be used in highly contended situations,
and creating a compressor has some overhead, on top of losing out on some
potential advantages of longer-running optimizations from the compressor.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 04 Nov 2024 12:10:22 +0100 |
parents | f4733654f144 |
children |
comparison
equal
deleted
inserted
replaced
52307:22d24f6d6411 | 52308:7756494c5ecd |
---|