Use local memory pool in EvtStoreSvc
This adds some custom arena/allocator utilities (inspired by, but different from, lhcb/LHCb!2197 (merged)) and uses them inside EvtStoreSvc
to minimise calls to the standard new/delete. Improves LHCb/HLT1 throughput by around 1.5%.
This handles everything internally to the EvtStoreSvc
component, so it should be self-contained. Conceptually it would be nicer if the resources were owned externally, by the EventContext
, but I didn't do anything like that here.
Edited by Olli Lupton