Skip to content

Commit 53ca3c7

Browse files
authored
Apply suggestion from @ktf
1 parent 2504b49 commit 53ca3c7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

PWGHF/TableProducer/trackIndexSkimCreator.cxx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3938,10 +3938,6 @@ struct HfTrackIndexSkimCreatorLfCascades {
39383938
// cascade loop
39393939
const auto thisCollId = collision.globalIndex();
39403940
const auto groupedCascades = cascades.sliceBy(cascadesPerCollision, thisCollId);
3941-
// The bachelor track indices depend only on the collision, not on the
3942-
// cascade, so slice them once per collision. Each sliceBy on this Filtered
3943-
// join does a full arrow Table::Slice (per-column allocation) plus a
3944-
// selection-vector slice, so rebuilding it for every cascade is pure waste.
39453941
const auto groupedBachTrackIndices = trackIndices.sliceBy(trackIndicesPerCollision, thisCollId);
39463942

39473943
for (const auto& casc : groupedCascades) {

0 commit comments

Comments
 (0)