Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created May 26, 2017 19:15
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/1b6f1bdabefa1cb13338451abceea153 to your computer and use it in GitHub Desktop.
Save Whateverable/1b6f1bdabefa1cb13338451abceea153 to your computer and use it in GitHub Desktop.
bisectable6
"tst.txt".IO.spurt([~] 'a' .. 'z'); my $ioh = "tst.txt".IO.open(:r); say $ioh.read(4); $ioh.seek(1, SeekFromCurrent); say $ioh.read(4);
Bisecting: 2232 revisions left to test after this (roughly 11 steps)
[1794328cfb319249d35c9ca3e08c2adac2b8f529] Make Str.comb(Regex) about 7x faster
»»»»» Testing 1794328cfb319249d35c9ca3e08c2adac2b8f529
»»»»» Script output:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing cea6a939900ceed48f678fb7b2dc1da44cac19c0
»»»»» Script output:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b6838ee4df320528b0c0630f206c8ebad0a62071
»»»»» Build does not exist, skip this commit
»»»»» -------------------------------------------------------------------------
»»»»» Testing a21d2f9e1c8db162c09363e380e0e97f1441775b
»»»»» Script output:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8c09c84d647d63a6cac87603bd078ae51a80703e
»»»»» Script output:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f4cbdb64bce81d9663726d6a9da52af8b709a630
»»»»» Script output:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e5b5d3461d300fe4ae36d3a1f1909613c222ab26
»»»»» Script output:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a2e28a9595905d54e6f3b0c6dfa03cae296e3910
»»»»» Script output:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9df907d76e4ad3413625053e530393980460efa7
»»»»» Cannot test this commit. Reason: Commit exists, but a perl6 executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 666350af93d1c69c01c9d4746dc790a93055f5cf
»»»»» Script output:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0210297cbfc3d3d700d3aa0caffc0123b17a1e54
»»»»» Script output:
Blob[uint8]:0x<>
Blob[uint8]:0x<>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8a40c4c212e6be0651d0336c8d0ec1cab1aad670
»»»»» Cannot test this commit. Reason: Commit exists, but a perl6 executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 27f09e9d88cfbcd2ac466b3d0aef962fee51e1cb
»»»»» Script output:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9f2c53804f2f6d1125f6b753e144df64c5b6e5cd
»»»»» Cannot test this commit. Reason: Commit exists, but a perl6 executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing d19f7803769ed3b6796a3d11096aaba606c54d64
»»»»» Script output:
Blob[uint8]:0x<>
Blob[uint8]:0x<>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9c0362cb1a296aebba855a1284b1e1afcc2a51c9
»»»»» Cannot test this commit. Reason: Commit exists, but a perl6 executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing d5865f8a149005ac231b73faf082345fa238c0b5
»»»»» Script output:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 65615dcc002000270e1b46d56266391c2b3f5d19
»»»»» Script output:
Blob[uint8]:0x<>
Blob[uint8]:0x<>
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8907707fc17f41a24d56564e2a4a741bb2f4a1fa
»»»»» Cannot test this commit. Reason: Commit exists, but a perl6 executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 93f46451c9d5e44063b05b5597b8678133f8f22e
»»»»» Script output:
No such method 'consume-exactly-bytes' for invocant of type 'Rakudo::Internals::VMBackedDecoder'
in block <unit> at /tmp/CZpRAQcFPj line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Buf[uint8]:0x<61 62 63 64>
Buf[uint8]:0x<66 67 68 69>
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
93f46451c9d5e44063b05b5597b8678133f8f22e is the first new commit
commit 93f46451c9d5e44063b05b5597b8678133f8f22e
Author: Jonathan Worthington <jnthn@jnthn.net>
Date: Thu May 25 10:48:02 2017 +0200
In char mode, make read go via. streaming decoder.
To facilitate mixed char/binary mode I/O (with the usual caveats that
one must be aware of things like normalization buffering, which isn't
anything new). In binary mode, we fast-path it directly to the binary
I/O, which is an optimization over what happens in MoarVM today.
:040000 040000 9cd537525f7119cdaf2644115003f10fe0191c76 ee1f31376d948c155266904d6c724fab018de2af M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment