Skip to content

Commit dbf437b

Browse files
committed
!fixup comment update
1 parent e7de538 commit dbf437b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/herder/ParallelTxSetBuilder.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -607,9 +607,6 @@ buildSurgePricedParallelSorobanPhase(
607607
// then scan for groups sharing the same key hash. This is significantly
608608
// faster in practice than using hash map lookups.
609609
//
610-
// With 64-bit hashes and typical
611-
// footprint sizes, collisions are exceedingly rare .
612-
//
613610
// This also has the further optimization potential: we could populate the
614611
// key maps and even the conflicting transactions eagerly in tx queue, thus
615612
// amortizing the costs across the whole ledger duration.
@@ -674,7 +671,7 @@ buildSurgePricedParallelSorobanPhase(
674671
continue;
675672
}
676673

677-
// Collect all entries matching.
674+
// Collect all entries with the matching key hash.
678675
std::vector<size_t> roTxs;
679676
std::vector<size_t> rwTxs;
680677
for (size_t i = groupStart; i < groupEnd; ++i)

0 commit comments

Comments
 (0)