Not initialize empty DataContainer with 0 per default
When an empty DataContainer
is constructed, there should be the option to do it without initializing all values to zero, as this can be an expensive operation for a large container. In many cases, the values are being overwritten anyway right after creating it.
The option to not initialize the values exists for the DataHandlerCPU
but is not yet made available at the container level.
To discuss: should the default be to initialize (aka set zero) the values or not? I would advocate for setting the default to not initialize the values for performance reasons.