First off, thanks for the wonderful library @sdd !
To my query, I have a fairly involved algorithm that initializes a KdTree and it works.
After the KdTree is populated, I then serialize and persist it to a file for future use, and the tree is functionally immutable.
Would it be possible to initialize an ImmutableKdTree from the KdTree? I can then just serialize the ImmutableKdTree and get the performance benefits without materially changing my existing tree population algorithm.
This would for sure be a great feature. The ergonomics around serializing via rkyv could also be improved. I'll get around to looking at this once the bugs in ImmutableKdTree get fixed
First off, thanks for the wonderful library @sdd !
To my query, I have a fairly involved algorithm that initializes a KdTree and it works.
After the KdTree is populated, I then serialize and persist it to a file for future use, and the tree is functionally immutable.
Would it be possible to initialize an ImmutableKdTree from the KdTree? I can then just serialize the ImmutableKdTree and get the performance benefits without materially changing my existing tree population algorithm.