Skip to content

Instantly share code, notes, and snippets.

@japhb
Created February 28, 2016 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save japhb/f15b1a9779d8e89ddf4c to your computer and use it in GitHub Desktop.
Save japhb/f15b1a9779d8e89ddf4c to your computer and use it in GitHub Desktop.
microbenchmarks.pl snippet for lizmat++
{
name => 'for_param_sigil',
tags => [qw( for )],
scale => 1 << 10,
expected => "\\",
perl5 => undef,
perl6 => 'sub a(\) {}; my $p = &a.signature.params[0]; my $a; for ^SCALE { $a = $p.sigil }; say $a',
nqp => undef,
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment