adriaan, Multi-process solution in #Perl for the 1 billion record challenge. Runs in about 4 minutes with 8 child processes compared to 30 minutes with the baseline Perl solution (on my hardware). https://github.com/adriaandens/1brc.pl
There's still a lot of room for further optimalizations.
There's an ongoing discussion on the Perl Reddit about the 1BRC. One cool trick someone did was 'use integer;' and work without the default float behaviour of the numbers to get a 10% speed boost. https://www.reddit.com/r/perl/comments/18ygpsi/1_billion_row_challenge_in_perl/
Add comment