Mercurial > hg-stable
view rust/Cargo.toml @ 51281:c4f1a790bda8
rust-index: use a `BitVec` instead of plain `Vec` for heads computation
The `Vec` method uses one byte per revision, this uses 1 per 8 revisions,
which improves our memory footprint. For large graphs (10+ millions), this
can make a measurable difference server-side.
I have seen no measurable impact on execution speed.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 29 Nov 2023 15:58:24 -0500 |
parents | 34e0670caf46 |
children |
line wrap: on
line source
[workspace] members = ["hg-core", "hg-cpython", "rhg"] exclude = ["chg", "hgcli"] resolver = "2"