GaudiHandles: use dict as storage for GaudiHandleArray
Change GaudiHandleArray
type from list
to MutableSequence
and
implement the storage as dict
, which is guaranteed to be
insertion-ordered as of Python 3. This considerably improves the speed
of append
(for a particular ATLAS job, this saves almost one minute in configuration time).
insert
is potentially a bit slower but that is rarely used.
Also add unit test for handles and define __slots__
for GaudiHandle
.
Edited by Frank Winklmeier