Mercurial > public > mercurial-scm > hg
comparison rust/hg-core/src/exit_codes.rs @ 51261:47a34afda7ad
rust-index: only access offsets if revlog is inline
Accessing the `RwLock` ended up showing up in profiles even with no contention.
Offsets only exist for inline revlogs, so gate everything behind an inline
check.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Thu, 14 Dec 2023 09:57:25 +0100 |
parents | 7c93e38a0bbd |
children |
comparison
equal
deleted
inserted
replaced
51260:5b4995b40db0 | 51261:47a34afda7ad |
---|