uproot5 icon indicating copy to clipboard operation
uproot5 copied to clipboard

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

Open jpivarski opened this issue 6 months ago • 0 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 https://github.com/scikit-hep/uproot5/issues/1089#issuecomment-1900706532

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

jpivarski avatar Jan 30 '24 16:01 jpivarski