Skip to content

Compress integer arrays by default

This PR updates the JLD2 backend to automatically use byte shuffling and compression for integer arrays. For RodCells this affects at least params, id, attached in every snapshot and also the registrar. In my test, this change was able to reduce the size of a 2.3Gb file by 30%.

It would be good to run the CG models tests for this change.

This change is backward compatible in the sense that old files can be read just as normal. However, new files cannot be read by older InPartS environments because the compression codec is not installed by default. If you want to use an older InPartS with older JLD2 version, then you need to install and load CodecZlib manually.

https://gitlab.gwdg.de/eDLS/InPartS-models/colonygrowth-models/-/jobs/1985326

(passed )

Edited by Jonas Isensee

Merge request reports

Loading