Created
July 12, 2021 03:07
-
-
Save Whateverable/fe4012f6fc43f2fed2748102b078a7a3 to your computer and use it in GitHub Desktop.
bisectable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[""].grep(*.<foo>).grep(*.defined).say |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bisecting: 29 revisions left to test after this (roughly 5 steps) | |
[96a1c4946531a45f713936380e837d23a8ad0bd0] Revert "Tell people to encode in UTF-8 by default" | |
»»»»» Testing 96a1c4946531a45f713936380e837d23a8ad0bd0 | |
»»»»» 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 2fd458cc23cc55cb0b50665f3ee664e7842a6a76 | |
»»»»» 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 a5d8135392a50d21e1898164146e698174b60924 | |
»»»»» 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 0761d4b2d498be314c15b1dd54b001b5e9060aba | |
»»»»» 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 bb09bbb8581364f7323ff1f17ab4d84dffbe798c | |
»»»»» Script output: | |
Type Str does not support associative indexing. | |
in block <unit> at /tmp/bkPxM6qSsq 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 ddc7c9ff2297ceea8a7bd4a568643415f654a2da | |
»»»»» 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” | |
bb09bbb8581364f7323ff1f17ab4d84dffbe798c is the first new commit | |
commit bb09bbb8581364f7323ff1f17ab4d84dffbe798c | |
Author: Elizabeth Mattijsen <liz@wenzperl.nl> | |
Date: Sat Jul 10 14:54:38 2021 +0200 | |
Improve performance of .grep(Callable) and cleanup | |
- about 1% for single arg Callable | |
- more than 2x as fast for 2 arg Callable | |
- a few percent for 2+ arg Callables | |
This gets rid of the CheatArity hack, that turned out to be only in | |
place to let "sequential-map" select the correct iterator to use. | |
Selection of the correct iterator now happens in !grep-callable itself, | |
so that we don't need the CheatArity hack anymore. | |
The 2 arg Callable's improvement is due to the fact that it no longer | |
needs to take a full capture, but instead operates on a Callable that | |
just takes 2 parameters. | |
:040000 040000 563cc95d256ef089ca9ec940ca30270fe15857f7 b503bda7871b373478adee95b00c824881a434a7 M src |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment