Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 11, 2022 08:41
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/31ef1ad2edbe5ecc4fecc714bcfa0590 to your computer and use it in GitHub Desktop.
Save Whateverable/31ef1ad2edbe5ecc4fecc714bcfa0590 to your computer and use it in GitHub Desktop.
bisectable6
old=2020.01 my %h = a => 1, b => 2; EVAL("say %h ~~ :2b")
Bisecting: 1790 revisions left to test after this (roughly 11 steps)
[ea1a7cf6d90f226f259b7068d0df18c61ad28a25] Merge pull request #4208 from salortiz/patch-1
»»»»» Testing ea1a7cf6d90f226f259b7068d0df18c61ad28a25
»»»»» Script output:
True
»»»»» 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 5c81e9fcce7022902143c52273ece926d4038498
»»»»» Script output:
True
»»»»» 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 e42457ad40db6ba2819afcd668b89eda6141c954
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0a0dc58812eb2dd03a242f2e04bd402e20b33ab7
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing c92b44ecddcf6d495fe823f190df3fe8d0fda87d
»»»»» Script output:
No such method 'b' for invocant of type 'Hash'
in block <unit> at EVAL_0 line 1
in block <unit> at /tmp/WwkIlwCDsI 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 186bd0b0269304914cf844ae8c36cad557c099cd
»»»»» Script output:
No such method 'b' for invocant of type 'Hash'
in block <unit> at EVAL_0 line 1
in block <unit> at /tmp/WwkIlwCDsI 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 5855c1d55786adff02cc54d882167cfbdfaa6e43
»»»»» Script output:
True
»»»»» 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 d4fde77d2a08d3354c6845b56caaa64e7155eeca
»»»»» Script output:
No such method 'b' for invocant of type 'Hash'
in block <unit> at EVAL_0 line 1
in block <unit> at /tmp/WwkIlwCDsI 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 6a265eab87b5b8f0dfe8f400d7f6ef937c3a4d7b
»»»»» Script output:
No such method 'b' for invocant of type 'Hash'
in block <unit> at EVAL_0 line 1
in block <unit> at /tmp/WwkIlwCDsI 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 d80fb897ec4a2fdd61fb1df7c38fa2da8721ee90
»»»»» Script output:
No such method 'b' for invocant of type 'Hash'
in block <unit> at EVAL_0 line 1
in block <unit> at /tmp/WwkIlwCDsI 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 7f1189fe757045119b5779b2c5280c48dbc87d83
»»»»» Script output:
No such method 'b' for invocant of type 'Hash'
in block <unit> at EVAL_0 line 1
in block <unit> at /tmp/WwkIlwCDsI 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 80fbaadd98a4463ef70f05b0eabe0b5ad5c564fb
»»»»» Script output:
True
»»»»» 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 7554d733228d24416054993b5a17a9710b142a31
»»»»» Script output:
No such method 'b' for invocant of type 'Hash'
in block <unit> at EVAL_0 line 1
in block <unit> at /tmp/WwkIlwCDsI 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”
7554d733228d24416054993b5a17a9710b142a31 is the first new commit
commit 7554d733228d24416054993b5a17a9710b142a31
Author: Vadim Belman <vrurg@lflat.org>
Date: Wed Dec 22 21:59:12 2021 -0500
Optimize smartmatching against pairs
The outcome would significantly vary depending on the actual code, but
in the most typical case of `$obj ~~ :foo` I have observed a speedup of
up to 49%.
src/Perl6/Optimizer.nqp | 389 ++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 373 insertions(+), 16 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment