Skip to content

0.5.1

Latest

Choose a tag to compare

@oruebel oruebel released this 22 Nov 05:54
· 1 commit to main since this release
f23ebab

Changed

  • Improved the speed of appends to VectorData by caching the data type of the dataset in VectorData::appendBuffer and VectorData::appendData instead of reading it from the file for every call. Together with the faster HDF5RecordingData::writeDataBlock (see below), adding one row to an EventsTable is ~5x faster, and to a table with a text column ~4.5x faster (Apple M4, HDF5 1.14.3). (@claude, @oruebel, #366)
  • Improved the speed of small writes in HDF5RecordingData::writeDataBlock. Numeric data are written with the HDF5 C API, and writes with the C++ API (strings, scalar datasets and array types) no longer copy the dataspaces and reuse the HDF5 type in memory. ElectricalSeries::writeChannel is ~2.5x faster (Apple M4, HDF5 1.14.3). (@claude, @oruebel, #366)
  • Improved the speed of DynamicTable::addRows, which now classifies the columns once per call instead of for every row. Adding rows in batches of 100 to 1000 is ~1.2-1.6x faster (Apple M4, HDF5 1.14.3). (@claude, @oruebel, #367)

Fixed

  • Fixed HDF5IO::open to return Status::Failure instead of throwing if HDF5 can't open or create the file and updated HDF5IO::open, HDF5IO::openS3, and HDF5IO::openRemote to print the HDF5 error if opening fails. (@claude, @oruebel, #363)
  • Fixed the warnings of cppcheck 2.19 and 2.22, which the code scanning workflow reports since ubuntu-latest moved to Ubuntu 26.04. (@claude, @oruebel, #364)
  • Fixed the Windows test workflow failing to configure since the runners use CMake 4.5, which reports the add_compile_definitions call in vcpkg's HDF5 wrapper as a non-target-directive warning that the presets make an error. The workflow now passes -Wno-error=non-target-directive on Windows. (@claude, @oruebel, #369)