Skip to content
Snippets Groups Projects
Commit cb5ceba1 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Created a pool for parametrized detector objects to avoid excessive calls to...

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
parent fc3db7b9
No related branches found
No related tags found
No related merge requests found
Showing
with 657 additions and 297 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment