legend-exp / LegendHDF5IO.jl

HDF5-IO in Julia for the LEGEND experiment
Other
0 stars 6 forks source link

Don't represent generic HDF5 Groups as NamedTuples for H5DataStore #46

Open oschulz opened 2 months ago

oschulz commented 2 months ago

Change default_datatype(df::HDF5.H5DataStore) to a new lazy wrapper type LH5OrderedDict <: AbstractDict{String,Any} or so.

Representing HDF5 groups without a "datatype" attribute as NamedTuples is often not the right thing to do semantically. It also places a high load on the compiler and results in a deep recursive metadata read.