3 ms·
I use hilbert curves and I can assure you they are very useful for performance.. Hilbert encoding does take longer than Z order, but I have a SIMD optimized ro
by TinkersW 2y ago
I use hilbert curves and I can assure you they are very useful for performance..
Hilbert encoding does take longer than Z order, but I have a SIMD optimized routine for it so it isn't that bad.
Your comment about compilers doesn't make sense, compilers can't rearrange memory order so that are incapable of making a hilbert or zorder like transform.
I profiled hilbert vs zorder and found hilbert was sufficiently superior to justify the extra overhead, hilbert was about ~22% less work vs zorder.