Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 27, 2016 23:42
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/42dd933cd3b7d31224c757610a6f7c8a to your computer and use it in GitHub Desktop.
Save Whateverable/42dd933cd3b7d31224c757610a6f7c8a to your computer and use it in GitHub Desktop.
bisectable6
my $i = 30; say permutations( +(^$i).join.comb ).elems
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:
30414093201713378043612608166064768844377641568960512000000000000
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e4fdc32d6d9062e169165d02a6ac920fc22177da
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 689da7aa679bc1f69c91e9dc7d560b5ec2e60e92
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5558710da69e12c3fe1eb44bf217db4e47705da8
»»»»» Script output:
Cowardly refusing to permutate more than 20 elements, tried 50
in block <unit> at /tmp/IQcFZ2sqpg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing acbbc87679ad8c97c8051fea2700a5d3d76b1981
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8e3cbc67db7041f4bc0aa41da0d61534a03a0689
»»»»» Script output:
Cowardly refusing to permutate more than 20 elements, tried 50
in block <unit> at /tmp/IQcFZ2sqpg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2e1b82cfa266dd8166c45f46bc8ac0607b1ecb55
»»»»» Script output:
Cowardly refusing to permutate more than 20 elements, tried 50
in block <unit> at /tmp/IQcFZ2sqpg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b96bf5bd05f7e9bfc325156e6a27c1fbb8377eae
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b67c1e45ab00a12cdb54d556f8ee1d55c538abcb
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 16fbd7147f776fb2780a41d87b3074480839807e
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing bc13bb574cc30aeaac768e9b33a4b56097c01216
»»»»» Script output:
Cowardly refusing to permutate more than 20 elements, tried 50
in block <unit> at /tmp/IQcFZ2sqpg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ab3a59c393e620654b788d89eed818b13b7e92a1
»»»»» Script output:
Cowardly refusing to permutate more than 20 elements, tried 50
in block <unit> at /tmp/IQcFZ2sqpg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
ab3a59c393e620654b788d89eed818b13b7e92a1 is the first new commit
commit ab3a59c393e620654b788d89eed818b13b7e92a1
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Tue Dec 6 17:55:35 2016 +0100
Make permutations/combinations die instead of fail
:040000 040000 80e61c9c1a044703e8ca85b2e98dec7e708bfc1e 3d6fbebb0b19cf61f33d2602aa413f206e2f39c1 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment