Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created January 25, 2014 12:25
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 tadzik/8615568 to your computer and use it in GitHub Desktop.
Save tadzik/8615568 to your computer and use it in GitHub Desktop.
use NativeCall;
sub strlen(Str) is native returns Int { * }
my $start = pir::time__N();
for 1..50000 {
strlen("");
}
say "Tests took {pir::time__N() - $start}";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment