in reply to Array vs. Hash for sparsely integer-indexed data
You could tie an array to a hashref for storage. This would be lovely in terms of memory usage, but not especially performant.