vkcz / quadtree_img

A quadtree-based image compression system and reference implementation
GNU Affero General Public License v3.0
2 stars 0 forks source link

Z-order-based in-memory encoding of quadtrees #1

Open vkcz opened 4 years ago

vkcz commented 4 years ago

As noticed by a helpful reviewer, the Box-based implementation of QuadtreeNode relies on potentially inefficient usage of pointers. He suggested to instead use something such as Vec<(u64, u32)> to store the entire tree with a method based on sorted Z-order curves/Morton code.