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.
In Section
Cool Uses for Perl
in reply to Faster Statistics for Discrete Data