Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 5, 2017 03:42
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/8b8d97efff1f0b0a2a02401c359b3a91 to your computer and use it in GitHub Desktop.
Save Whateverable/8b8d97efff1f0b0a2a02401c359b3a91 to your computer and use it in GitHub Desktop.
bisectable6
my @c[2;2] .= new(:shape(2, 2), [1, "a"], [2, "b"]); .say for @c, @c.flat
Bisecting: 1498 revisions left to test after this (roughly 11 steps)
[8aaffa8b129531ff632ae3c9db22cc58319c3b6c] Make Str.indices about 10% faster
»»»»» Testing 8aaffa8b129531ff632ae3c9db22cc58319c3b6c
»»»»» Script output:
[[1 a] [2 b]]
(1 a 2 b)
»»»»» 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 4f87b5460f3a371794ec8e6a7aca1e8536af397d
»»»»» Script output:
[[1 a] [2 b]]
(1 a 2 b)
»»»»» 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 a489de325e784eb0a5b469975f09026b457116b7
»»»»» Script output:
Cannot assign an array of shape 2 2 to an array of shape 2 2
in block <unit> at /tmp/lApC_cHU0P 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 87595f4962b786fc5494c1d5874bc3766e0ce3b3
»»»»» Script output:
Assignment to array with shape 2 2 must provide structured data
in block <unit> at /tmp/lApC_cHU0P 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 78ef944e922f73c1b8fa6df894f6b84971397652
»»»»» Script output:
[[1 a] [2 b]]
(1 a 2 b)
»»»»» 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 bb662ff6cffff251849579c0aa6e603c7baf7086
»»»»» Script output:
Assignment to array with shape 2 2 must provide structured data
in block <unit> at /tmp/lApC_cHU0P 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 9f94525ed87fd7aff751c0a027292cb5638f07d2
»»»»» Script output:
Assignment to array with shape 2 2 must provide structured data
in block <unit> at /tmp/lApC_cHU0P 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 c55c5d78b25e37b63bb411d8fb9b7cf5a51882ea
»»»»» Script output:
[[1 a] [2 b]]
(1 a 2 b)
»»»»» 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 006f00814e00a04e95573b19ccf12d3fb1178ee2
»»»»» Script output:
Assignment to array with shape 2 2 must provide structured data
in block <unit> at /tmp/lApC_cHU0P 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 1bb5aadc46f6d2fde8cfb0c8d47c3f028cd58918
»»»»» Script output:
Assignment to array with shape 2 2 must provide structured data
in block <unit> at /tmp/lApC_cHU0P 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 576f3a1141ee2d0f55f6596fb40c7f4bef0e52de
»»»»» Script output:
Assignment to array with shape 2 2 must provide structured data
in block <unit> at /tmp/lApC_cHU0P 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 1293188342fdb66aa6cd00668d988a710a36f489
»»»»» Script output:
Assignment to array with shape 2 2 must provide structured data
in block <unit> at /tmp/lApC_cHU0P 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”
»»»»» -------------------------------------------------------------------------
1293188342fdb66aa6cd00668d988a710a36f489 is the first new commit
commit 1293188342fdb66aa6cd00668d988a710a36f489
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Thu Nov 3 14:14:59 2016 +0100
Streamline .new/set-shape handling
- set-shape only called when we actually have a shape
- set-shape no longer STOREs, just sets the shape (like the name indicates)
- new-internal helper no longer needed
Makes creating a shaped array about 25% faster
:040000 040000 796a09340f747108f6bfeb7dcb8a2eb7d55ed039 04e9860569cb3341fb53055a6e01a0ae8925a3c6 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment