Created
January 8, 2017 11:19
-
-
Save Whateverable/2b11fafe62e22fa42296c3803fba4be2 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
my $attempts = 0; say (1..5).grep({if $_ == 3 {$attempts++; redo unless $attempts == 10}; $_}).join("|"); say "looked $attempts times for element 3" |
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: 1515 revisions left to test after this (roughly 11 steps) | |
[5586f1d9c1523c32abe579a9904d8f32199cd1a4] Revert "Make "my @a is List = 1,2,3" work" | |
»»»»» Testing 5586f1d9c1523c32abe579a9904d8f32199cd1a4 | |
»»»»» Script output: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by output | |
»»»»» Output on “old” revision is: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» The output is identical | |
»»»»» Therefore, marking this revision as “old” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing f50e39b2f435c925feabf66cb5a4119d002a3051 | |
»»»»» Script output: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by output | |
»»»»» Output on “old” revision is: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» The output is identical | |
»»»»» Therefore, marking this revision as “old” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing 4fd6e94825335d25554409797c4743987a1a8ecd | |
»»»»» Script output: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by output | |
»»»»» Output on “old” revision is: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» The output is identical | |
»»»»» Therefore, marking this revision as “old” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing 96f5fba7437acae38aaa157d232abf54db85533c | |
»»»»» Script output: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by output | |
»»»»» Output on “old” revision is: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» The output is identical | |
»»»»» Therefore, marking this revision as “old” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing 1dc0c01522721e62d3a4f7286bb9bc2ebca9c239 | |
»»»»» Script output: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by output | |
»»»»» Output on “old” revision is: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» The output is identical | |
»»»»» Therefore, marking this revision as “old” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing f9ed7300fc4c3b8f6b170f2dd80099f3c65fca43 | |
»»»»» Script output: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by output | |
»»»»» Output on “old” revision is: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» The output is identical | |
»»»»» Therefore, marking this revision as “old” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing 1e88cd6c39d16765bfd759bd9008c07e806c74b1 | |
»»»»» Script output: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by output | |
»»»»» Output on “old” revision is: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» The output is identical | |
»»»»» Therefore, marking this revision as “old” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing 119efbcea682839ddd2af38ef859c0d4172e0e2c | |
»»»»» Script output: | |
1|2|4|5 | |
looked 1 times for element 3 | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by output | |
»»»»» Output on “old” revision is: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» The output is different | |
»»»»» Therefore, marking this revision as “new” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing 3c52aa096c190c31bd397e1dbe58b6320fa7bc61 | |
»»»»» Script output: | |
1|2|4|5 | |
looked 1 times for element 3 | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by output | |
»»»»» Output on “old” revision is: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» The output is different | |
»»»»» Therefore, marking this revision as “new” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing 7a759d7d01c83c4eb0c9377fda2aca366f7772d2 | |
»»»»» Script output: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by output | |
»»»»» Output on “old” revision is: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» The output is identical | |
»»»»» Therefore, marking this revision as “old” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing 823f0f7f6bcdc57cbc40946dac22c89c34e23bb0 | |
»»»»» Script output: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by output | |
»»»»» Output on “old” revision is: | |
1|2|3|4|5 | |
looked 10 times for element 3 | |
»»»»» The output is identical | |
»»»»» Therefore, marking this revision as “old” | |
»»»»» ------------------------------------------------------------------------- | |
3c52aa096c190c31bd397e1dbe58b6320fa7bc61 is the first new commit | |
commit 3c52aa096c190c31bd397e1dbe58b6320fa7bc61 | |
Author: Elizabeth Mattijsen <liz@dijkmat.nl> | |
Date: Fri Jan 6 12:31:58 2017 +0100 | |
Give Seq its own .join, 25% faster than List.join | |
- it won't try to reify stuff first | |
- makes constructs like .map().join faster with less memory pressure | |
- tested with Seq.new(^10 .iterator).join | |
:040000 040000 12d1a0b4f13c1756b50b9808bdf7392a4fe0b62c 32b629c33b7cf4dced16dbdb02b70a27514ecfc5 M src |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment