nit: clarify "keep it around" comment
This commit is contained in:
parent
666c365db3
commit
9d2999461f
@ -122,8 +122,8 @@ struct SccsConstruction<'c, G: DirectedGraph + WithNumNodes + WithSuccessors + '
|
|||||||
|
|
||||||
/// A set used to strip duplicates. As we accumulate successors
|
/// A set used to strip duplicates. As we accumulate successors
|
||||||
/// into the successors_stack, we sometimes get duplicate entries.
|
/// into the successors_stack, we sometimes get duplicate entries.
|
||||||
/// We use this set to remove those -- we keep it around between
|
/// We use this set to remove those -- we also keep its storage
|
||||||
/// successors to amortize memory allocation costs.
|
/// around between successors to amortize memory allocation costs.
|
||||||
duplicate_set: FxHashSet<S>,
|
duplicate_set: FxHashSet<S>,
|
||||||
|
|
||||||
scc_data: SccData<S>,
|
scc_data: SccData<S>,
|
||||||
|
Loading…
Reference in New Issue
Block a user