This changelists adds a new argument to the dl_txt_pack-function, which is a field of flags called pack-flags. There are currently two flags implemented, one for not applying defaults when packing the txt - and another that assumes that there is an instance already packed where we are packing to. The latter causes the write-position for future dynamic data to be after the already packed instance, allowing for overwriting dynamic data. This does however use more memory than needed, and you can optimize the struct by unpacking/packing it.
Coverage decreased (-0.02%) to 92.224% when pulling cbe023cbc31681b08dceb11286f586d58f699b06 on lundmark:master into b13569ea01d4b4c2836218735b2b5d729ce930e0 on wc-duck:master.
This changelists adds a new argument to the dl_txt_pack-function, which is a field of flags called pack-flags. There are currently two flags implemented, one for not applying defaults when packing the txt - and another that assumes that there is an instance already packed where we are packing to. The latter causes the write-position for future dynamic data to be after the already packed instance, allowing for overwriting dynamic data. This does however use more memory than needed, and you can optimize the struct by unpacking/packing it.