Highlights
Bug fix release.
has_frame_generic_data(also of the compat API) cost time proportional to the size of the whole hierarchy instead of the frame's generic data group: it listed all generic data names of the frame, and zarr-python lists groups of consolidated hierarchies by scanning all node metadata keys of the hierarchy. For sequences with ~1,400 frames and a few generic data arrays per frame (~36,000 metadata keys) a check took ~10 ms, and reads of several generic data fields for many frames spent most of their time in these checks. Checks now look up the name (~70 us), and listings of groups of consolidated hierarchies use an index built on the first listing (e.g.get_frame_generic_data_names~10 ms -> ~135 us). Results are unchanged. Backport of #272, also in 20.0.0rc2.
Changes since v19.9.1
⚡ Performance
Full diff: v19.9.1...v19.9.2