Skip to content

Commit ea1ec0c

Browse files
authored
perf: Reduce memory consumption (acts-project#1973)
We have three vectors (of `std::size_t`) that call a reserve of these values. Reduce the number to 100 since it makes no sense we have 1000000000 seed candidates for a single middle SP ... not even for ITk at PU200 /cc @LuisFelipeCoelho
1 parent a6b3d6a commit ea1ec0c

File tree

1 file changed

+2
-2
lines changed
  • Examples/Python/python/acts/examples

1 file changed

+2
-2
lines changed

Examples/Python/python/acts/examples/itk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,8 @@ def itkSeedingAlgConfig(inputSpacePointsType: InputSpacePointsType):
481481
numSeedIncrement = 1
482482
seedWeightIncrement = 10100
483483
useDetailedDoubleMeasurementInfo = True
484-
maxSeedsPerSpMConf = 1000000000
485-
maxQualitySeedsPerSpMConf = 1000000000
484+
maxSeedsPerSpMConf = 100
485+
maxQualitySeedsPerSpMConf = 100
486486
useDeltaRorTopRadius = False
487487

488488
# fill namedtuples

0 commit comments

Comments
 (0)