Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 27, 2018 16:23
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/26de1c45dcfe2aec4b0af6ba5495664a to your computer and use it in GitHub Desktop.
Save Whateverable/26de1c45dcfe2aec4b0af6ba5495664a to your computer and use it in GitHub Desktop.
bisectable6
for 0.1, 0.2 ... 1 -> $a { say $a }
Bisecting: 4113 revisions left to test after this (roughly 12 steps)
[54f50956ad1679ea3d133b04d28cb57d409aeff6] Fix Seq.perl for cached Seqs
»»»»» Testing 54f50956ad1679ea3d133b04d28cb57d409aeff6
»»»»» Script output:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
»»»»» 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 57374490aeac09e416bc6ab763bec277785d8acf
»»»»» Script output:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
»»»»» 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 ac5cf2bb010694d7c007ee3e0e3c799ad63ffcec
»»»»» Script output:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
»»»»» 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 6c62be62447518704b218e4724925b7bba3b483b
»»»»» Script output:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
»»»»» 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 7b1d16fe68556c909df754850f530828ea6084a4
»»»»» Script output:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
»»»»» 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 ca1124c81d5da4244ddca7248aa460df4723fbdc
»»»»» Script output:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
»»»»» 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 d59603138820eaf4ee92a12aae5680a6d03da6e8
»»»»» Script output:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
»»»»» 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 6b418fbea627a4ad822944ef0ee798b54d82aff8
»»»»» Script output:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
»»»»» 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 645eeb52dd8fa6ea1eedcd7b996afaa4cbbc89c2
»»»»» Script output:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
»»»»» 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 5a974cb9ee0c0597716a3b7eff0b2a258609b674
»»»»» Script output:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
»»»»» 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 2136e735210a73d373c86a1df3fafed8341106f6
»»»»» Script output:
===SORRY!===
This type (QAST::WVal) does not support positional operations
»»»»» 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 89787028882bf5faa4aa596a50e320cd6de16f2c
»»»»» Script output:
===SORRY!===
This type (QAST::WVal) does not support positional operations
»»»»» 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 49baea7009aec43ecf1bfdcaa3e286f05c2143bb
»»»»» Script output:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
»»»»» 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”
»»»»» -------------------------------------------------------------------------
89787028882bf5faa4aa596a50e320cd6de16f2c is the first new commit
commit 89787028882bf5faa4aa596a50e320cd6de16f2c
Author: Elizabeth Mattijsen <liz@wenzperl.nl>
Date: Wed Sep 26 14:33:21 2018 +0200
Optimize "for 1,3...9" and "for 9,7...1"
A little more introspection allows those cases to be handle by the
"for ^10" optimization as well. Makes these sequences a *lot* faster:
for 1,3...999999 about 150x. Of course, smaller sequences will profit
less.
:040000 040000 5419c41a5c2b708d09ad0d22b0a2d539613c9c8c 365d2998c1fcff622b6e33fb1df9982e8d697cf0 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment