Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created Jan 22, 2022
Embed
What would you like to do?
bisectable6
my $l = "start = 94 ; end = 96 ; sum = 55"; if (my ($s, $e, $sum) = $l ~~ m:P5/^start = (\d+) ; end = (\d+) ; sum = (-?\d+)$/.list) {say $sum}
Bisecting: 70 revisions left to test after this (roughly 6 steps)
[9d58b5dce76bb32cce564ab17ed75a00c2648dd2] Merge pull request #4701 from MasterDuke17/remove_some_no_longer_needed_CALL-MEs
»»»»» Testing 9d58b5dce76bb32cce564ab17ed75a00c2648dd2
»»»»» Script output:
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「55」
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d94e88223fd3b52009184ee4b53551e83aee203a
»»»»» Script output:
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「55」
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fedfd716a0f1ce39331b72fdef270138206eace1
»»»»» Script output:
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「55」
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0ab6df2c727622713d5cdca8e7a73f9e1554dd3c
»»»»» Script output:
「55」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「55」
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 966e77fe10bac8bc725399f06bcb7b5b38e00727
»»»»» Script output:
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「55」
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ed85bad68b0db072902b4ff8a523f9c6860dad96
»»»»» Script output:
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「55」
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6b828fe6159ad948aaac24035233ee697a9f72da
»»»»» Script output:
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
「55」
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
6b828fe6159ad948aaac24035233ee697a9f72da is the first new commit
commit 6b828fe6159ad948aaac24035233ee697a9f72da
Author: Vadim Belman <vrurg@lflat.org>
Date: Sat Nov 27 17:28:14 2021 -0500
Improve handling of junctions on LHS and by given/when
- `when` now uses optimized code unless the topic is a Junction. Falls
back to `ACCEPTS`+`Bool` in the latter case.
- smartmatch optimization is now more elaborate about its arguments.
It
implicitly `Bool`-ifies `ACCEPTS` return value unless its LHS is a
regex or negation is to be done.
Overall, with this commit it must not be a problem if `ACCEPTS`
gets
autothreaded and results in a junctionized return. Either it will
be
collapsed with boolification where smartmatch semantics is
expected, or
junctionized outcome of a regex match is expected.
:040000 040000 31b1c3808b2ed26b2aacc97d72df352b08a01fbb 6cca79e7450f6b263b6ca43d2c6ab7148126fbfc M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment