-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluate using awkwardarray for variable length arrays #223
Comments
I tried some experiments using it in ctapipe a year ago or so, but decided in the end it would require too much redesign. Although it depends where and how heavily we would use it. It has some implications (and benefits) also for data format (e.g. ability to write these var-length arrays to parquet). It's interesting technology though, and could help solve the problem of event-wise vs bunch-of-event processing. Ideally we would like to support the latter and do away with all explicit loops over events for efficiency purposes, but the current design makes that difficult. My main issue with awkward was just that it was not very stable, but now that there is a 1.x release, that is encouraging. Places where it could be interesting to explore using it would be:
|
Here I was mainly talking about the places where simtel array uses variable length data and that have a quite large performance impact when reading eventio. These are at the moment:
|
Perhaps a similar issue should be opened for pyeventio, since there it's clearly useful. |
Sorry, I misclicked. I intended this to be an eventio issue. |
We should evaluate if we can use awkward to speed things up where we currently use list of lists or arrays of arrays where we have variable length data.
https://awkward-array.org/quickstart.html
The text was updated successfully, but these errors were encountered: