-
-
Save jnthn/d88bf1561e85aaac1fa20e56d9346364 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
multi m(Int) { } | |
multi m(Str) { } | |
for ^1_000_000 { | |
m(1); | |
m("x"); | |
} | |
say now - INIT now; |
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
use nqp; | |
multi m(Int) { } | |
multi m(Str) { } | |
for ^1_000_000 { | |
nqp::dispatch('raku-call', &m, 1); | |
nqp::dispatch('raku-call', &m, "x"); | |
} | |
say now - INIT now; |
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
jnthn@homedev:~/dev/rakudo$ MVM_SPESH_DISABLE=1 ./rakudo-m basic-multi-head.raku | |
0.46298199 | |
jnthn@homedev:~/dev/rakudo$ MVM_SPESH_DISABLE=1 RAKUDO_NEW_DISP=1 ./rakudo-m basic-multi-new-disp.raku | |
0.332425902 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment