-
-
Save jnthn/5e7a5d8ebac1dd9e1b3607d415b46efe 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
use nqp; | |
class Foo { | |
multi method new(*@args ($p, *@a)) { | |
self.CREATE | |
} | |
} | |
my int $i = 0; | |
for ^10000 { | |
my @a = <foo bar baz quz>; | |
Foo.new(|@a); | |
say ++$i; | |
nqp::force_gc; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment