Open
Description
With #1277 merged, coffea does support opening a file using virtual arrays. With scikit-hep/awkward#3475, it finally supports opening a file without needing to know the buffer shapes.
This is an issue just to keep track of the things that are pending to fully support virtual arrays well.
- Bring back the coffea 0.7-like executors.
- Investigate whether coffea should cache the original uncut events in the
@original_array
attribute because since they are virtual, the memory overhead is only the python objects and not real arrays. It's probably good to keep them there to avoid doingfrom_buffers
when we need the original events. - What should coffea's
persistent
andruntime
caches do? It looks like one of them is storing callables in the case of virtual arrays and the other does not do anything. - Can we do something about objects that are really regular arrays like
LHEPdfWeights
but uproot deserializes them as list offset arrays? That sounds like a useless offsets calculation to me but there may not be another way.