Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 22, 2021 18:09
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/83a91a97f13ba54eab7dae60ae062b02 to your computer and use it in GitHub Desktop.
Save Whateverable/83a91a97f13ba54eab7dae60ae062b02 to your computer and use it in GitHub Desktop.
bisectable6
dd (1..10)[lazy 1,(8..12)]
Bisecting: 69 revisions left to test after this (roughly 6 steps)
[43ccad299df2d51ed0462a8e991aac74cd65951a] Make setting up of compiling options lazy as possible
»»»»» Testing 43ccad299df2d51ed0462a8e991aac74cd65951a
»»»»» Script output:
(2, (9, 10))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
(2, 6)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5eb55076406963aa182cfa47429ec3fb735f8f33
»»»»» Script output:
(2, 6)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
(2, 6)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 12b49b8343e86633b0f94d826cbac3469a03c2e2
»»»»» Script output:
(2, (9, 10))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
(2, 6)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d53a92733140c345345217f3345beb73cd6f40f6
»»»»» Script output:
(2, (9, 10))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
(2, 6)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 65a5cce11cfeacfdb1cbc07fc4d486e13cea07b5
»»»»» Script output:
(2, (9, 10))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
(2, 6)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ca7bc91e71afe9373b57cd629215f843e8026df1
»»»»» Script output:
(2, (9, 10))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
(2, 6)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4d40e23e0fd6ef2ce190c8ac01a1b44ab1e2a0f7
»»»»» Script output:
(2, 6)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
(2, 6)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
ca7bc91e71afe9373b57cd629215f843e8026df1 is the first new commit
commit ca7bc91e71afe9373b57cd629215f843e8026df1
Author: Elizabeth Mattijsen <liz@wenzperl.nl>
Date: Fri Jan 8 15:32:11 2021 +0100
Re-imagine array slicing, fixing issues, between 2x and 10x faster (#4131)
This commit makes array slice accesses and assignment between 2x
and 10x as fast *and* fixes several issues found in the previous
implementation. It also creates a framework for handling adverbs that
are allowed with postcircumfix adverbs (in a separate source-file Rakudo/Internals/PostcircumfixAdverbs).
Specific fixes are with Iterables within Iterables as index. For example,
dd <a b c d e>[0,(1,2,3),4] # ("a", ("b", "c", "d"), "e")
worked, but:
dd <a b c d e>[0,(1,2,3),4]:k # (0,4)
did not, simply ignoring the inner iterable (1,2,3). This is now
fixed. This was apparently not implemented correctly since its initial
implementation.
This includes about 6K lines of generated classes. Once the performance
penalty of calling a private method of a consuming class from within a role
is fixed, this can be greatly reduced by generating roles and consuming
classes.
:040000 040000 a8df345014b29318ce19bddc79ebe2162e408efa 8f49655603cc283ae4dcb64518368b987c1736bf M src
:040000 040000 f84aeb6e83edf15f35827e68e9374b9e240cca23 ed2f149210415e87a715d663da345dbcd01fce13 M t
:040000 040000 7f163a50278f8c254d5e5acbd8a486e3eac7aa3c acec99c0a335dee06873381019f2e0cefeb46e77 M tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment