Closed SARDONYX-sard closed 2 months ago
If there is a solution, it is dynamic dispatching using TaskQueue, but there is concern about speed reduction.
Currently don't know how due to ownership and lifetime errors and non object safety due to use of generics in Serialize trait.
We are trying a method that repeatedly jumps to and back from the destination of the data to which the pointer points. If this can be done, the global_fixup ordering problem will be solved at the same time.
It was a hell of a task, but it was done.
Version
0.1.2
Reproducible errors
I found the cause: there was a problem with the serialization order of hkArray< hkaAnnotationTrackAnnotation>.
The hkArray in the nested Class member was inadvertently serialized in-place. In this case, the arrays of the members of the Class within the array (annotationTracks) (the Class with time & text) must be serialized after the annotationTracks is written.
I don't think this problem will be solved without a major change in the way arrays are serialized, but it's a bit of a challenge. It will take some time.
test.zip
Expected behavior
The classes inside the array must be serialized later. (It is not clear how this ordering can be resolved.)
Relevant log output
No response