Top "Z-order-curve" questions

Use this tag for questions about Morton order and related questions about Z-order curves.

How to efficiently de-interleave bits (inverse Morton)

This question: How to de-interleave bits (UnMortonizing?) has a good answer for extracting one of the two halves of a …

bit-manipulation z-order-curve
How can I shuffle bits efficiently?

I need to shuffle a 16 bit unsigned integer in a way that the even indexes land in the lower byte, …

c++ c bit-manipulation z-order-curve