Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 2, 2021 09:21
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/eb76dd7e1018186e7a0542bebd9be05e to your computer and use it in GitHub Desktop.
Save Whateverable/eb76dd7e1018186e7a0542bebd9be05e to your computer and use it in GitHub Desktop.
bisectable6
old=2020.10 new=HEAD dd (1..30).pick(*).grep(*>*>*)
Bisecting: 705 revisions left to test after this (roughly 10 steps)
[c64dc57337327d5f111f53f1927d4ba95551d7aa] Revert infix:<~> subclassability
»»»»» Testing c64dc57337327d5f111f53f1927d4ba95551d7aa
»»»»» Script output:
((25, 9, 1), (26, 17, 12)).Seq
»»»»» 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 049d13004a8b3e496e7e058c57f65e1b28f5c6c6
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 3c5193d1882cea94e1476f16b11e7c4027607b7f
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 944fc1495fbb9fcea32d740baad74fd9fd9260e3
»»»»» Script output:
((18, 11, 7), (21, 19, 13), (30, 17, 6)).Seq
»»»»» 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 1253f4bd63336bb41abce6ff5c805c5ed73a5379
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6b186020a9ebfc2effeb90a2a20f57cb7e0b5373
»»»»» Script output:
((30, 20, 13), (28, 23, 14), (21, 17, 5)).Seq
»»»»» 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 cee2053c8fd9754e2636d680b1db665a1431c8b5
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing d388526287c01cd8785f06c3b9549f6ad684e8be
»»»»» Script output:
Too few positionals passed; expected 5 arguments but got 4
in block <unit> at /tmp/wvXgwqsw9z 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 11e731329de09f38965a537c98b4917845666510
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0761d4b2d498be314c15b1dd54b001b5e9060aba
»»»»» Script output:
((26, 11, 1), (22, 15, 8)).Seq
»»»»» 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 25d2f634ddce757a41d1e2f74541bd4c59c9df69
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 67501437bf63d34483ef016c2946c75b2cfc3a5e
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing ef95fe2e1b0cae2b91cfd0eb423212af0fc37c4c
»»»»» Script output:
Too few positionals passed; expected 5 arguments but got 4
in block <unit> at /tmp/wvXgwqsw9z 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 ca4d3f76439804097e7a4a62dafc8080d841aee9
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 3dd4314d7b75835d0001dd1ebd90990be6954568
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 383a2fb26003f614ae606435211bdefaf8644955
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 26ee39e11fd678dd86db1a522d0b62a0a45fb893
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 69fb2d79ec16288c41077a0fdcdb4ae084b87565
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 7055e93ce6aa19e0eff0bfab7089a6c70c9abc5f
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 3c1c709cea01d1d0d2c33185978daf78f2309ba7
»»»»» Script output:
Too few positionals passed; expected 5 arguments but got 4
in block <unit> at /tmp/wvXgwqsw9z 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 5d474c5e78aee28810d0dc784423eefdc284f45e
»»»»» Script output:
Too few positionals passed; expected 5 arguments but got 4
in block <unit> at /tmp/wvXgwqsw9z 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 b0caab5bf7c4576b70910c77620fd0077e7aad70
»»»»» Script output:
Too few positionals passed; expected 5 arguments but got 4
in block <unit> at /tmp/wvXgwqsw9z 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 9c69b7d5f65c349ab1b5152579383f0bb371b690
»»»»» Script output:
Too few positionals passed; expected 5 arguments but got 4
in block <unit> at /tmp/wvXgwqsw9z 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 4c417f318b2509c4985191a883ce848892f4233a
»»»»» Script output:
Too few positionals passed; expected 5 arguments but got 4
in block <unit> at /tmp/wvXgwqsw9z 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 38626c6860f0d400500bd83bac3552846b81157e
»»»»» Script output:
Too few positionals passed; expected 5 arguments but got 4
in block <unit> at /tmp/wvXgwqsw9z 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 bb09bbb8581364f7323ff1f17ab4d84dffbe798c
»»»»» Script output:
Too few positionals passed; expected 5 arguments but got 4
in block <unit> at /tmp/wvXgwqsw9z 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:
((29, 23, 1), (21, 16, 7), (27, 17, 11)).Seq
»»»»» 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