Updating and setting data in datacontainer.RedDataContainer is slower (~0.2 seconds per key set) now that we've migrated to using red_group.RedundantGroups to track redundancies. It seems that this is due to a new instance of RedundantGroups being created when running RedDataContainer.__setitem__, which requires a new mapping between baselines and the baseline key representing a redundant group (in _bl_to_red_map) to be computed.
Updating and setting data in
datacontainer.RedDataContainer
is slower (~0.2 seconds per key set) now that we've migrated to usingred_group.RedundantGroups
to track redundancies. It seems that this is due to a new instance ofRedundantGroups
being created when runningRedDataContainer.__setitem__
, which requires a new mapping between baselines and the baseline key representing a redundant group (in_bl_to_red_map
) to be computed.