InputMakerForRoI: Reserve Vector
Maximum size of the two vectors are fixed to the size of the outputHandle vector.
Additionally, two vector's final size also does not differ much from the outputHandle vector.
Out of 20282 attempts to make both of vectors, the vectors had exactly the same size as the reserved size 20266 times (99.9 %)
Reserving the size is more efficient as it avoids resizing.
Merge request reports
Activity
This merge request affects 1 package:
- Trigger/TrigSteer/DecisionHandling
This merge request affects 1 file:
- Trigger/TrigSteer/DecisionHandling/src/InputMakerForRoI.cxx
Adding @tamartin as watcher
added 24.0 Trigger review-pending-level-1 labels
Thanks @emoon!
CI Result SUCCESS (hash d23591fc)Athena externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 14874] (remote access info)added review-approved label and removed review-pending-level-1 label
added review-approved-point1 label
mentioned in commit afa91c1e
mentioned in merge request !73957 (merged)