Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 14, 2018 20:58
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/889e3d7c07810da21907f5fde641b198 to your computer and use it in GitHub Desktop.
Save Whateverable/889e3d7c07810da21907f5fde641b198 to your computer and use it in GitHub Desktop.
bisectable6
good=2018.06 bad=HEAD my $blob = blob8.new([1, 2, 3]); $blob.subbuf(0, Any)
Bisecting: 217 revisions left to test after this (roughly 8 steps)
[806752fb54a11c036899cbe9664c1f97ab293d85] Abstract check for Range being inside native integer range
»»»»» Testing 806752fb54a11c036899cbe9664c1f97ab293d85
»»»»» Script output:
»»»»» 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 4522132d2f99bc17de5ebb7e00ee56cf86a75adb
»»»»» Script output:
Cannot resolve caller subbuf(Blob[uint8]: Int, Any); none of these signatures match:
(Blob:D: Range:D $fromto, *%_)
(Blob:D: Int:D $From, *%_)
(Blob:D: &From, *%_)
(Blob:D: Int:D $From, Int:D $Length, *%_)
(Blob:D: &From, Int:D $Length, *%_)
in block <unit> at /tmp/GVChAOhlb3 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 729edb4a493036767963f7603921eddfc4476d8c
»»»»» Script output:
»»»»» 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 64ab7179823dbc731f620758aef1e191a682ed5d
»»»»» Script output:
»»»»» 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 e0a27ce3718fcb5bd0277b9760aea986c904c611
»»»»» Script output:
»»»»» 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 d4d8289515cf72a168bbc09343a3472823d811e7
»»»»» Script output:
Cannot resolve caller subbuf(Blob[uint8]: Int, Any); none of these signatures match:
(Blob:D: Range:D $fromto, *%_)
(Blob:D: Int:D $From, *%_)
(Blob:D: &From, *%_)
(Blob:D: Int:D $From, Int:D $Length, *%_)
(Blob:D: &From, Int:D $Length, *%_)
in block <unit> at /tmp/GVChAOhlb3 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 6ad50d7948a137f78b511a67298dfb69bbe2b58f
»»»»» Script output:
»»»»» 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 c4bb1b19d2b5e19ed96b8fb843be24e59819f097
»»»»» Script output:
»»»»» 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 cd43c4f1535d99b1c55c53bd262924a069ca3d8f
»»»»» Script output:
Cannot resolve caller subbuf(Blob[uint8]: Int, Any); none of these signatures match:
(Blob:D: Range:D $fromto, *%_)
(Blob:D: Int:D $From, *%_)
(Blob:D: &From, *%_)
(Blob:D: Int:D $From, Int:D $Length, *%_)
(Blob:D: &From, Int:D $Length, *%_)
in block <unit> at /tmp/GVChAOhlb3 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”
»»»»» -------------------------------------------------------------------------
cd43c4f1535d99b1c55c53bd262924a069ca3d8f is the first new commit
commit cd43c4f1535d99b1c55c53bd262924a069ca3d8f
Author: Elizabeth Mattijsen <liz@wenzperl.nl>
Date: Sun Aug 5 16:09:32 2018 +0200
Streamline Buf.subbuf a bit more
- make it a multi
- use helper subs for readability
- make sure all is done as natively as possible
- depending on parameters, makes subbuf between 1.2x to 2.5x as fast
:040000 040000 fbe9a14b037813cf178a3e1c3332eb3d6fc29f53 63ea6e6f74044b5c8d522aa104ce4e463fe714b5 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment