In DM-26407 we store the dimensions YAML configuration in the database table. In general for use cases like this where the YAML is not human visible, the preference is to switch to JSON form.
Tim Jenness
added a comment - Trivial change.
I did a quick benchmark and JSON is about 200 times faster at serializing a DimensionConfig when compared to YAML and about 4 times faster parsing it.
The resultant serialized string is 10% smaller in JSON.
Trivial change.
I did a quick benchmark and JSON is about 200 times faster at serializing a DimensionConfig when compared to YAML and about 4 times faster parsing it.
The resultant serialized string is 10% smaller in JSON.