Skip to content

data reading speed #14

@acolijn

Description

@acolijn

So with the new data format we can read files quickly. I tried on a single file:

with h5py.File(file, 'r') as f:
group = f['events/']
data = {}
for name, dataset in group.items():
data[name] = np.array(dataset)

len(data)

Takes 0.6s to read 10k events. Time to modify event_reader.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions