Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created March 17, 2020 19:44
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 Whateverable/50efe65176d9bc8413130f53db7e2bdc to your computer and use it in GitHub Desktop.
Save Whateverable/50efe65176d9bc8413130f53db7e2bdc to your computer and use it in GitHub Desktop.
bisectable6
sub f($foo, $bar) { dd &?ROUTINE.signature.params.map({.name => ::(.name)}).hash }; f 42, 50
Bisecting: 5746 revisions left to test after this (roughly 13 steps)
[92bc011ab0c1588534df76e159ce92fba508b167] Follow convention of core multi sub declarations
»»»»» Testing 92bc011ab0c1588534df76e159ce92fba508b167
»»»»» Script output:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c52c410a1c3e17b05eec114898606b87e3750129
»»»»» Script output:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b455d2ec966540914016c73115b533ad7b8a7dd0
»»»»» Script output:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing db65798309b940736c79a63b9d95d3f85f2e11ad
»»»»» Script output:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8c242d5e7b0b781a9b78765e45327504939cdb32
»»»»» Script output:
Hash % = {("\$bar") => 50, ("\$foo") => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing bfc718240693d3e733b72ec3756a51a63d3ed293
»»»»» Script output:
Hash % = {("\$bar") => 50, ("\$foo") => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 7ce79f4d39578cdab14305177c4c4aa62287cc73
»»»»» Script output:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 73e98a6c8cd35b653ad9afacdcc26b30ad63651d
»»»»» Script output:
Hash % = {("\$bar") => 50, ("\$foo") => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b9fa673b94e89bfdc0aa9ecd4ee9c4960682608a
»»»»» Script output:
Hash % = {("\$bar") => 50, ("\$foo") => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b770971fff7cf4bfa218f32d809d29ddf0b3247c
»»»»» Script output:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 09e66e504f3d9747526d02fab8e8f3cc9917b7c8
»»»»» Script output:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 08aec410ef68251e3bdad0987528e50c9087c687
»»»»» Script output:
Hash % = {("\$bar") => 50, ("\$foo") => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0d96bedc4d9df8d7cd63bdef1b9e465a99c578fa
»»»»» Script output:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"\$bar" => 50, "\$foo" => 42}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
08aec410ef68251e3bdad0987528e50c9087c687 is the first new commit
commit 08aec410ef68251e3bdad0987528e50c9087c687
Author: Elizabeth Mattijsen <liz@wenzperl.nl>
Date: Mon Jan 6 00:32:14 2020 +0100
Make Pair.raku between 0 and 10% faster
Still feels worthwhile to do as it becomes hot code quickly when
doing .raku on a Hash.
:040000 040000 bf8077f6cdfe65224520c35d14d57127704a2eaf c61fdf19c9f22644a29ce0e77b80a8580cee8b00 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment