Created
August 9, 2016 18:52
-
-
Save zoffixznet/39bea0d017ad2f2f4f75519e080d26c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zoffix@:~$ time perl -e 'my $i = 0; for (1..20_000_000) { $i = $i + $_ }' | |
real 0m1.345s | |
user 0m1.320s | |
sys 0m0.020s | |
zoffix@:~$ time perl6 -e 'my $i = 0; for (1..20_000_000) { $i = $i + $_ }' | |
real 0m30.821s | |
user 0m30.446s | |
sys 0m0.336s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment