4.5 Article

Converting to and from dilated integers

Journal

IEEE TRANSACTIONS ON COMPUTERS
Volume 57, Issue 4, Pages 567-573

Publisher

IEEE COMPUTER SOC
DOI: 10.1109/TC.2007.70814

Keywords

analysis; programming techniques; numerical algorithms; design; performance; memory hierarchy; caches; paging; compilers; classes; quadtrees; octrees; dilation; contraction.

Ask authors/readers for more resources

Dilated integers form an ordered group of the Cartesian indices into a d-dimensional array represented in the Morton order. Efficient implementations of its operations can be found elsewhere. This paper offers efficient casting (type)conversions to and from an ordinary integer representation. As the Morton order representation for 2D and 3D arrays attracts more users because of its excellent block locality, the efficiency of these conversions becomes important. They are essential for programmers who would use Cartesian indexing there. Two algorithms for each casting conversion are presented here, including to-and-from dilated integers for both d = 2 and d = 3. They fall into two families. One family uses newly compact table lookup, so the cache capacity is better preserved, The other generalizes better to all d, using processor-local arithmetic that is newly presented as abstract d-ary and (d-1)-ary recurrences. Test results for two and three dimensions generally favor the former.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.5
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available