http://qs321.pair.com?node_id=146919


in reply to Faster Statistics for Discrete Data

Couldn't you just tie the array and use the original package? Something like Tie::MmapArray could be used to map your array to a disk file.