Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created March 9, 2017 01:27
Show Gist options
  • Save Whateverable/b080d0851eca1ed3dcd0f7a4b9dd7e04 to your computer and use it in GitHub Desktop.
Save Whateverable/b080d0851eca1ed3dcd0f7a4b9dd7e04 to your computer and use it in GitHub Desktop.
bisectable6
grammar G1 { rule TOP { \w+ } }; my $a = "abc"; G1.parse($a) and say $/.gist for 1,2;
Bisecting: 1817 revisions left to test after this (roughly 11 steps)
[af4c2efa36fc28813eee93d5600645a00892febe] replace with wiki doc
»»»»» Testing af4c2efa36fc28813eee93d5600645a00892febe
»»»»» Script output:
「abc」
「abc」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2a8ec405f04568ac850811f4438e9b0633dfb2f3
»»»»» Script output:
Nil
Nil
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f22f8941e71ca26e4f0ca8b1cfde57a669391b3b
»»»»» Script output:
Nil
Nil
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5d909c9da98a35fb9786afabf1a4421d840f5117
»»»»» Script output:
「abc」
「abc」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fcb09733bf66b237ce08e18624a177f1e0542d23
»»»»» Script output:
「abc」
「abc」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 79bb8671454171bed3ece027b8facfe56d6665f5
»»»»» Script output:
「abc」
「abc」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 364e67be4cc36884a0bb32577e03c951c42a9007
»»»»» Script output:
「abc」
「abc」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 70a367d64dd7eca4586e15b77fe14ae2a818bb67
»»»»» Script output:
「abc」
「abc」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5ac593ee098f204ea69ef57edd9ae0925c544ea4
»»»»» Script output:
「abc」
「abc」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 33eeb323373c7b01f2d791779a877838369a11e8
»»»»» Script output:
「abc」
「abc」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 553677fbc58034fc301a0e5025e516b12451cdf2
»»»»» Script output:
Nil
Nil
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1f76b17ee37ff666a8f0e0d81bdecbca1fb5d856
»»»»» Script output:
Nil
Nil
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「abc」
「abc」
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
1f76b17ee37ff666a8f0e0d81bdecbca1fb5d856 is the first new commit
commit 1f76b17ee37ff666a8f0e0d81bdecbca1fb5d856
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Fri Oct 28 14:38:35 2016 +0200
Streamline argument handling in Grammar
- rewrite in nqp ops
- don't use defaults in sigs when we don't need them
- default case rule TOP better optimizable through literal call
- lookup cursor initialization only once
:040000 040000 5e9dbce4fe1e61a358a67aa1851b14b61be46afa 60d9a7fa66607698db4eda31b430e3860bd8b993 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment