This change reorders a few loops to enhance computational efficiency. In both the AmplitudeManager and the Amplitude class loops over events are moved to the innermost loop. This increases the rate at which desired data in the large arrays end up in the CPU cache. Both changes result in significant speed gains (several tens of percent) for CPU based fitting.
This change reorders a few loops to enhance computational efficiency. In both the AmplitudeManager and the Amplitude class loops over events are moved to the innermost loop. This increases the rate at which desired data in the large arrays end up in the CPU cache. Both changes result in significant speed gains (several tens of percent) for CPU based fitting.