Repository navigation
The compiler says the same in fewer tokens, with the same output - #1230
Merged
Merged
Conversation
Collaborator
|
Thanks for the contribution. I rebased it onto current main (43efc78) and checked it. #1235 landed after you branched and changed the same code, so 7 of the 15 commits conflict, and there's nothing left to save in them:
The other 8 still apply. Seven are clean; memo/lay_of needed a small manual fix-up because of the lines around it. On top of main they hold up:
There's one issue:
Could you rebase onto main, keep the other 7 surviving commits, and update the ttok figure in the description? |
… goes comp.ts 64302 -> 64267 ttok, with the same output.
comp.ts 64267 -> 64254 ttok, with the same output.
comp.ts 64254 -> 64231 ttok, with the same output.
comp.ts 64231 -> 64219 ttok, with the same output.
…ding comp.ts 64219 -> 64209 ttok, with the same output.
comp.ts 64209 -> 64200 ttok, with the same output.
comp.ts 64200 -> 64192 ttok, with the same output.
wakamex
force-pushed
the
comp-cleanups2
branch
from
October 2, 2026 18:30
78146be to
566cd09
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
comp.ts goes from 64302 to 64192 ttok (-110 ttok, +19 -39 lines) in 7 independent simplifications, one per commit, each with its ttok change in the body, so any of them can be dropped on its own:
The other 8 commits of the first version are gone: #1235 made the same or a competing change to that code, and the js_marshal findLast commit needs es2023 where bend2/pack targets es2022. Thanks to Lorenzo for the rebase and check.