Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created March 23, 2019 06:47
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/c7a1acf31a761dd4a13dcf6ab015fdcf to your computer and use it in GitHub Desktop.
Save Whateverable/c7a1acf31a761dd4a13dcf6ab015fdcf to your computer and use it in GitHub Desktop.
bisectable6
class A { has @.a; submethod BUILD(:@!a) {}; method hello { say @!a; }}; class B { has @.b; submethod BUILD(:@!b) {}; method bye { say @!b; }}; class C is B is A { }; my $c = C.new(:b([1,2,3]),:a([3,4,5])); $c.bye; $c.hello;
Bisecting: 4722 revisions left to test after this (roughly 12 steps)
[3ff29d42f026fde6ed4483aa022c6d9512c61700] Permit IO::Path given as path to `use lib`
»»»»» Testing 3ff29d42f026fde6ed4483aa022c6d9512c61700
»»»»» Script output:
[1 2 3]
[3 4 5]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 7af3b648dacb7cc2cb579eff273a1ab5a7a8de7d
»»»»» Script output:
[1 2 3]
[]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c1e5cfcfa59596a57be69f47871f3d2a4dee7b4d
»»»»» Script output:
[1 2 3]
[]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b686f413120c9cb635abb9b310efcda8fb49a171
»»»»» Script output:
[1 2 3]
[3 4 5]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 36122f158fb7f206fc5abc8ea71d375367d3accf
»»»»» Script output:
[1 2 3]
[3 4 5]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c45d0cd1b5cf822e1c05ceaf29fb3c38f81cb959
»»»»» Script output:
[1 2 3]
[]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e9cf90e760eae582d64d751d071da505acd4db91
»»»»» Script output:
[1 2 3]
[3 4 5]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 3ac3eb96441f42f09fc0d9b847251f38f794428f
»»»»» Script output:
[1 2 3]
[]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a26613f6445d7d4ef78a7c92e256d745807b482c
»»»»» Script output:
[1 2 3]
[]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 3bf50cce877bb7f730528cfbfefb0af144639846
»»»»» Script output:
[1 2 3]
[]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 50538ad891dbfa7ffb2186eaab7a7d692dd5ef7b
»»»»» Script output:
[1 2 3]
[3 4 5]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 16cb67980a7591a66d9259680b980c81067d3f8c
»»»»» Script output:
[1 2 3]
[]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 01203bda3c650b351a40dcb0c16300b037481c6c
»»»»» Script output:
[1 2 3]
[3 4 5]
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
[1 2 3]
[3 4 5]
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
16cb67980a7591a66d9259680b980c81067d3f8c is the first new commit
commit 16cb67980a7591a66d9259680b980c81067d3f8c
Author: Elizabeth Mattijsen <liz@wenzperl.nl>
Date: Tue Oct 3 13:06:35 2017 +0200
Additional BUILDPLAN sharing
- if a class has an empty BUILDPLAN, it will not add to the BUILDALLPLAN
- therefore its BUILDALLPLAN is the same as its first parent in MRO
This should save memory for all mixins that don't add any attributes.
:040000 040000 59938433f4e120306ae888489cb2170fe621182a 6079f94bb0747043d479bfdd9f9dce0a0366471b M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment