Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 28, 2016 03:32
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/d8d4ed781cebd3898693ee86b7a0cb24 to your computer and use it in GitHub Desktop.
Save Whateverable/d8d4ed781cebd3898693ee86b7a0cb24 to your computer and use it in GitHub Desktop.
bisectable6
say [-] [+] 1,2,3
Bisecting: 1449 revisions left to test after this (roughly 11 steps)
[eb79d73bfe0a7e88e997e2319dbcc69b2ba90774] Make for @a.kv -> $k, $v { } 4x as fast
»»»»» Testing eb79d73bfe0a7e88e997e2319dbcc69b2ba90774
»»»»» Script output:
6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e4fdc32d6d9062e169165d02a6ac920fc22177da
»»»»» Script output:
-6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5dba970cadb9e0be42ce112d40b1b0b61f02202d
»»»»» Script output:
6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 641ee1e088105b2efd7ebf149f0e674aecb2fea9
»»»»» Script output:
-6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8a66833d9b8d05b89ea5c0069370a67ec7374b8c
»»»»» Script output:
-6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 957b5273034fc85250c11566b8a3370b3c403dc8
»»»»» Script output:
-6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fbeadbfa24f07e5e193ffa6ba2aa4f012188c362
»»»»» Script output:
-6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 575971752a9c57d6c6b7fb1ef66c103804206be6
»»»»» Script output:
-6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing dc7f27988b2e651172b605b240fb9867869d2cb7
»»»»» Script output:
-6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1d2351fdd829c780be4cf3aeec4f23fd2dcdac8e
»»»»» Script output:
6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b1c444f0622bc348a2e860a43faa6d72e9a11558
»»»»» Script output:
-6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 68443febefaf2f69f68930f3cd5b0fa4f9a6e744
»»»»» Script output:
6
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
6
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
b1c444f0622bc348a2e860a43faa6d72e9a11558 is the first new commit
commit b1c444f0622bc348a2e860a43faa6d72e9a11558
Author: TimToady <larry@wall.org>
Date: Tue Aug 30 19:53:33 2016 +0300
Calling unary on reduce needs arity, not count
For a reduction with a single argument, we want to look to see if the operator
in question has a unary interpretation, and call that. Unfortunately, there
are functions that can handle a unary but whose count is larger than 1,
so would not be called. Now we check .arity instead, which can still be 1
(or 0) for such functions. (We don't test for exactly 1 since most functions
with .arity of 0 have a .count greater than 0, so allow one arg.)
:040000 040000 beb80afc005890185673564d8b70c8a1f79482b8 983a848b874fdda44e91f754b31ab5edaa68638e M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment