Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 24, 2016 21:24
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/c702aeeeff31f3ffa66f998d3546af9c to your computer and use it in GitHub Desktop.
Save Whateverable/c702aeeeff31f3ffa66f998d3546af9c to your computer and use it in GitHub Desktop.
bisectable6
old=2016.12 my str @a = <a b c>; @a.sort.say;
Bisecting: 45 revisions left to test after this (roughly 6 steps)
[bd4e1f44f33a5c1aa71b35673dad9dc4d118bb98] Make sure List.roll always returns a Seq
»»»»» Testing bd4e1f44f33a5c1aa71b35673dad9dc4d118bb98
»»»»» Script output:
(a b c)
»»»»» 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 69dbab2bb1dadd0036a3f49851341cfb304cd83b
»»»»» Script output:
compare requires a concrete string, but got null
in block <unit> at /tmp/ZyOwH1yUD8 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 6873d7db635aaa26dab273cb1e3497f7ef2d37be
»»»»» Script output:
(a b c)
»»»»» 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 0db0810c020ab10bab28d3d7334e979a6476771b
»»»»» Script output:
(a b c)
»»»»» 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 a4bc51aa1d47286c33531b1761917f881273ad1b
»»»»» Script output:
(a b c)
»»»»» 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 4b2cea078f595613ff0f89a9bf1462d4a4295fb9
»»»»» Script output:
compare requires a concrete string, but got null
in block <unit> at /tmp/ZyOwH1yUD8 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 8d33b897c3c92256839d0a9d3ecac7cc60ad6767
»»»»» Script output:
(a b c)
»»»»» 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”
»»»»» -------------------------------------------------------------------------
4b2cea078f595613ff0f89a9bf1462d4a4295fb9 is the first new commit
commit 4b2cea078f595613ff0f89a9bf1462d4a4295fb9
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Fri Dec 23 12:30:12 2016 +0100
Make native @a.sort() about 12x faster
- same as List.sort() improvement
- use typed nqp::islt_x() for comparison because we can
:040000 040000 e000fa788bf0d7b2e67ba555a414864ea06a8ec0 101b448699066a47c02821d4a31e64ff94efb0c8 M src
:040000 040000 b67db2cfbec190a1852c29094ef6436bdc57022c eb1e792efbc3d42c480f729f220a0cc637dc1392 M tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment