Skip to content

Instantly share code, notes, and snippets.

@lizmat
Created May 16, 2019 16:19
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 lizmat/abf5a897d1e4f629089245be7f8b3666 to your computer and use it in GitHub Desktop.
Save lizmat/abf5a897d1e4f629089245be7f8b3666 to your computer and use it in GitHub Desktop.
benchmark
my $then;
my %h = ^1000;
for ^5 {
$then = now;
for ^5000 { my $a := %h.max(*.value) }
say now - $then;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment