Skip to content

Virtual Array TODOs #1308

Open
Open
@ikrommyd

Description

@ikrommyd

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 doing from_buffers when we need the original events.
  • What should coffea's persistent and runtime 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions