diff rust/hg-core/src/revlog/nodemap_docket.rs @ 51225:61a6ef876efd

rust-index: simplification in find_gca_candidates() `parent_seen` can be made a mutable ref, making this part more obvious, not needing to be commented so much. The micro-optimization of avoiding the union if `parent_seen` and `current_seen` agree is pushed down in the `union()` method of the fast, `u64` based bit set implementation (in case it matters).
author Georges Racinet <georges.racinet@octobus.net>
date Fri, 20 Oct 2023 08:54:49 +0200
parents 532e74ad3ff6
children db7dbe6f7bb2
line wrap: on
line diff