-
-
Save timo/647bba53b9820268558c 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
timo@schmetterling ~/perl6 [130]> perl6 glr.p6 benchmark | |
for loop over 'beer' xx 100000 ==> was 0.0619843006134033s, now 0.0608002344767253s | |
for loop over 'beer' xx 100000 with map ==> was 3.70370244979858s, now 0.212890068689982s | |
for loop over ('beer' xx 100000) in a list (so must remember values) ==> was 0.0596471627553304s, now 0.14594308535258s | |
for loop over ('beer' xx 100000) in a list, mapping it with *.uc ==> was 3.69753980636597s, now 0.390150944391886s | |
for loop over ('beer' xx 100000).map(*.uc) in a list ==> was 3.67367776234945s, now 0.610053618748983s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment