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/18f02652648a49d3ed1bdf002db13bed to your computer and use it in GitHub Desktop.
Save Whateverable/18f02652648a49d3ed1bdf002db13bed to your computer and use it in GitHub Desktop.
bisectable6
2018.06,HEAD for 1.0, 2.0 ... 4.0 -> $a { say $a }
Bisecting: 327 revisions left to test after this (roughly 8 steps)
[85050ac2b4f60eb5406f6659f71a4c60a0ccffd2] Merge pull request #1844 from MasterDuke17/array_slice_optimization
»»»»» Testing 85050ac2b4f60eb5406f6659f71a4c60a0ccffd2
»»»»» Script output:
1
2
3
4
»»»»» 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 bb963a25044757e9680b348436572cc40fdcbe1a
»»»»» Script output:
1
2
3
4
»»»»» 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 0a2d8321cc87e3f3f7bdd3f74bece8ff015bae83
»»»»» Script output:
1
2
3
4
»»»»» 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 c14df1893205ab2fcca9f0ee0222bfcc254bc05e
»»»»» Script output:
1
2
3
4
»»»»» 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 43919c6b84e91e7b7da4444167bb5f72d6bc2e5f
»»»»» Script output:
1
2
3
4
»»»»» 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 2fd8ffe56ad18324b71716775c6e17bc102351fd
»»»»» Script output:
1
2
3
4
»»»»» 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 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 dfd6450d74c727630ad8e06f1ebfc8361e828c0a
»»»»» Script output:
1
2
3
4
»»»»» 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 49baea7009aec43ecf1bfdcaa3e286f05c2143bb
»»»»» Script output:
1
2
3
4
»»»»» 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