On Wed, Feb 3, 2016 at 9:40 AM, Elizabeth Mattijsen <l...@dijkmat.nl> wrote:
> Is the code available somewhere? Would love to try some optimizations on it.
Liz, code is in public pastes in Pastebin. Links are here:
1. The master Perl 6 script to run the tests:
2-3. The two file creation scripts (Perl 5 and 6):
4-5. The two file reader scripts (Perl 5 and 6):
6-7. The smallest test file for a fast start:
Check inside file 1 which is set to just use the zero-gb file. Near
the top of the file you'll see where you just select one of two Gb
arrays by commenting out one or the other:
# test file sizes:
#my @GB = <0 1 2 3 4 5 6 7 8 9 10>;
my @GB = <0>; # a small file for testing this file
Good luck. criticisms and suggestions welcome.