-
Notifications
You must be signed in to change notification settings - Fork 48
Speed up inner loop #278
Copy link
Copy link
Open
Labels
coreIssue relates to the mizer coreIssue relates to the mizer coreenhancementNew feature requests or suggestions for enhancement of existing featuresNew feature requests or suggestions for enhancement of existing featuresminor effortResolving this issue will involve a minor effortResolving this issue will involve a minor effort
Metadata
Metadata
Assignees
Labels
coreIssue relates to the mizer coreIssue relates to the mizer coreenhancementNew feature requests or suggestions for enhancement of existing featuresNew feature requests or suggestions for enhancement of existing featuresminor effortResolving this issue will involve a minor effortResolving this issue will involve a minor effort
We can easily speed up the inner loop over size classes at
https://github.com/sizespectrum/mizer/blob/420fca74da0d31134415b9e71dbd2bb18ea76054/src/inner_project_loop.cpp#LL11-L13
by only running up the size class of the maximum size of the species. We only need to add a
w_max_idxvector argument toinner_project_loop()and can then get rid of theno_wargument.