Skip to content
Snippets Groups Projects
Martyn Gigg's avatar
Gigg, Martyn Anthony authored
Created a pool for parametrized detector objects to avoid excessive calls to the new operator in multi-threaded loops. If a cached object already exists and is unique then it's memory is reused rather than reallocating another object. This alleviates some of the locking within threaded loops that was impeding the scaling with the number of cores. There is still something to done with instruments but an issue remains with plottable components. Re #2276
cb5ceba1
History
Name Last commit Last update