Created
September 5, 2011 23:04
-
-
Save tadzik/1196124 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
┌─[tadzik@yavin4]─[~/src/nom] (optimizer) | |
└─[%]─> time ./perl6 test.pl | |
5000050000 | |
./perl6 test.pl 34.89s user 0.22s system 98% cpu 35.603 total | |
┌─[tadzik@yavin4]─[~/src/nom] (optimizer) | |
└─[%]─> time ./perl6 --optimize test.pl | |
5000050000 | |
./perl6 --optimize test.pl 27.12s user 0.22s system 99% cpu 27.401 total | |
┌─[tadzik@yavin4]─[~/src/nom] (optimizer) | |
└─[%]─> cat test.pl | |
my $i = 0; | |
for 1..100000 { | |
$i = $i + $_; | |
} | |
say $i; | |
┌─[tadzik@yavin4]─[~/src/nom] (optimizer) | |
└─[%]─> figlet win! | |
_ _ | |
__ _(_)_ __ | | | |
\ \ /\ / / | '_ \| | | |
\ V V /| | | | |_| | |
\_/\_/ |_|_| |_(_) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment