Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 23, 2023 22:19
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/7ee22e3a73c00d82f529fdbafce9a066 to your computer and use it in GitHub Desktop.
Save Whateverable/7ee22e3a73c00d82f529fdbafce9a066 to your computer and use it in GitHub Desktop.
bisectable6
my %h1{Any} = :foo, :bar; dd %(%h1,)
Bisecting: 108 revisions left to test after this (roughly 7 steps)
[21829c33f6831cf567663dc91071ea6dd009ed53] Make the adverbless zen-slice (@a[]) a few percent faster
»»»»» Testing 21829c33f6831cf567663dc91071ea6dd009ed53
»»»»» Script output:
{"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d4fde77d2a08d3354c6845b56caaa64e7155eeca
»»»»» Script output:
Has % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 90a04ac01a0bec5de3906d8ecef89496666a9da1
»»»»» Script output:
Has % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9f80771c91c0fad65ceade5a6309a1decd5dcc79
»»»»» Script output:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 7f1189fe757045119b5779b2c5280c48dbc87d83
»»»»» Script output:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 56086869508372c47e4b018e92412c3cf7b6b433
»»»»» Script output:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d80fb897ec4a2fdd61fb1df7c38fa2da8721ee90
»»»»» Script output:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4960802167dd63eda69b9c33899edd0503e2d3e2
»»»»» Script output:
Has % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Hash % = {"Str|bar" => :bar(Bool::True), "Str|foo" => :foo(Bool::True)}
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
4960802167dd63eda69b9c33899edd0503e2d3e2 is the first new commit
commit 4960802167dd63eda69b9c33899edd0503e2d3e2
Author: Elizabeth Mattijsen <liz@raku.rocks>
Date: Sun Jan 2 20:11:53 2022 +0100
Get rid of trailing ] and } when dd-ing typed arrays/hashes
src/core.c/Any.pm6 | 1 +
1 file changed, 1 insertion(+)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment