PrimitiveArray- Unboxed, multidimensional arrays based on the primitive package.



PrimitiveArray with Ix keys.

NOTE GHC 6.12.3 (and earlier, I guess) does not produce optimal code. Current head (6.13) produces very nice code. For example, unsafeIndex for 2-dim. tables with lower bound (0,0) produces one multiplication, one addition, one lookup, all using machine Int's.