Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 19, 2020 13:51
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/f80c7960b7c43a6464cc95d4becd7835 to your computer and use it in GitHub Desktop.
Save Whateverable/f80c7960b7c43a6464cc95d4becd7835 to your computer and use it in GitHub Desktop.
bisectable6
old=2020.08 my int @a[2,2] = (1,2),(3,4); dd @a.unique
Bisecting: 166 revisions left to test after this (roughly 7 steps)
[b60772fa70ce2fd4c13d463b05c1709e94f68da0] Don't pass current dim around anymore with %h{;}
»»»»» Testing b60772fa70ce2fd4c13d463b05c1709e94f68da0
»»»»» Script output:
(1, 2, 3, 4).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 151fd310838b72f6d455cad1f54c9546a8793a98
»»»»» Script output:
Cannot access 2 dimension array with 1 indices
in block <unit> at /tmp/cVoNwlczVZ 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 59d140bfc3e76a3bfee14784e9daaacdbd077377
»»»»» Script output:
Cannot access 2 dimension array with 1 indices
in block <unit> at /tmp/cVoNwlczVZ 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 bae905ef6a4200887c1d4aa44c52a2bb2306a44e
»»»»» Script output:
(1, 2, 3, 4).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 cb023b2120aeab8c2350290df8a2a9c1560b4307
»»»»» Script output:
(1, 2, 3, 4).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 6e6c9e5cc770f4d10aa6d44904a4c11d20504c33
»»»»» Script output:
Cannot access 2 dimension array with 1 indices
in block <unit> at /tmp/cVoNwlczVZ 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 219978e12e0465e2a3114ca465d8c9cc787a022c
»»»»» Script output:
Cannot access 2 dimension array with 1 indices
in block <unit> at /tmp/cVoNwlczVZ 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 c37ffe71bd19f1a1bfaaf12e3fccfa8004bace56
»»»»» Script output:
Cannot access 2 dimension array with 1 indices
in block <unit> at /tmp/cVoNwlczVZ 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”
c37ffe71bd19f1a1bfaaf12e3fccfa8004bace56 is the first new commit
commit c37ffe71bd19f1a1bfaaf12e3fccfa8004bace56
Author: Elizabeth Mattijsen <liz@wenzperl.nl>
Date: Fri Oct 23 21:31:28 2020 +0200
Make .unique/.repeated/.squish on native arrays faster
- .unique between 1.6x and 7.6x as fast
- .repeated between 2.0x and 2.5x as fast
- .squish between 1.8x and 6.8x as fast
Also add a dedicated native array .Seq method.
:040000 040000 e0bb3833dde39e8a944988e368b278a96f2d58f3 b226aeebd265e0ac370d8b0b91ccd4b8cec7120a M src
:040000 040000 c99704eda575a3dea69fd007d345ecba88f64f47 87cfa150f31d3d75d93d6aa7d8457da9aa50f6e8 M tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment