Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 23, 2020 14:52
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/4206bbe1ff3adf2961af886ff145a4ba to your computer and use it in GitHub Desktop.
Save Whateverable/4206bbe1ff3adf2961af886ff145a4ba to your computer and use it in GitHub Desktop.
bisectable6
say (-5.0)**(-1)
Bisecting: 5807 revisions left to test after this (roughly 13 steps)
[39d50ad542c6ec05bb7b23f2820ca8b9bcfdbfca] Merge pull request #1187 from rakudo/full-make-test
»»»»» Testing 39d50ad542c6ec05bb7b23f2820ca8b9bcfdbfca
»»»»» Script output:
-0.2
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 20d50e071d40f227428d4c4b4d2d663bad1245b5
»»»»» Script output:
-1.8
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2ae3f484c6bf3d1ba9f5564a5a84c4c6234e7d70
»»»»» Script output:
-0.2
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9726e6441897ea65559e539cd5d9b4090f5149eb
»»»»» Script output:
-1.8
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ade83c861484f5f4e4184a88d9dae79a2cdf110c
»»»»» Script output:
-0.2
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0ec4f5f283905f4e4ca79cac6a92ed12ec74310e
»»»»» Script output:
-0.2
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 677f23fb3555cc8b5ea9f24a8b30dad7cacda7a9
»»»»» Script output:
-1.8
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 3c8c6006ab3bd17a335bd6c8ac12a945862f63a2
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8e2c70fa154d9858f1e22bf54fbe07202040aaa9
»»»»» Script output:
-1.8
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 7043559bbbd5fbc97474e592f58b54145065c25c
»»»»» Script output:
-0.2
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 712d0f0fbd855359bfb6097e19f4dc8a0d6e0c73
»»»»» Script output:
-1.8
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 097826ef7bd985e4febdb106d7a6fa7dfa4fc5d7
»»»»» Script output:
-0.2
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 38de1e512e0e753de8d8d0015a8c95ceaaa1cc4e
»»»»» Script output:
-0.2
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d1729da26a8a2e869d87549d1cb4c6075d38d55f
»»»»» Script output:
-1.8
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
-0.2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
d1729da26a8a2e869d87549d1cb4c6075d38d55f is the first new commit
commit d1729da26a8a2e869d87549d1cb4c6075d38d55f
Author: Zoffix Znet <cpan@zoffix.com>
Date: Tue Jul 31 17:35:46 2018 +0000
Make infix:<**>(Rational, Int) more than 10x as fast
Makes `<50000123/50000000> ** 50_000` run 10.26x as fast
Makes `for ^2000 { my $ = (42 / $_) ** $_ }` run 16.72x as fast
Closes https://github.com/rakudo/rakudo/issues/1955 R#1955
Rationals are now[^1] guaranteed to be always in reduced form,
so the numerator and the denominator cannot have prime factors in common,
and raising each of them to a power doesn't change that, so we
can omit trying to reduce the result.
[1] https://github.com/rakudo/rakudo/commit/5c429e4eadcdcb9ba5aa3d7eb79264f172990f0e
:040000 040000 5c129032426ff654668c78c65c059c264b1ccdf2 13de3c79d4931e16362061d297e31c4b0bcff5e3 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment