scikit-hep / uproot5

ROOT I/O in pure Python and NumPy.

Home Page:https://uproot.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use cramjam to fill an allocated array with `uproot.AsDtypeInPlace`

jpivarski opened this issue · comments

Actually, yes! One thing uproot is often doing is decompressing many small chunks and then concatenating them into a larger contiguous buffer. We could save some additional allocation and copy time if we can decompress into a buffer at an arbitrary offset.

Originally posted by @nsmith- in #1089 (comment)

If this has to bypass the basket_array concatenation, it is a big-project.