Awesome
hilbert_curves
This repository contains the world's fastest implementations of 2D and 3D hilbert curve functions.
See http://threadlocalmutex.com/?p=126 and http://threadlocalmutex.com/?p=149 for the gory mathematical details.
The code in this repository is released into the public domain.