in reply to
Howto count elements within an interval
my $bucketIndex = int(($position-1) / 1e6);
Comment on
Re: Howto count elements within an interval
Download
Code
In Section
Seekers of Perl Wisdom