Skip to content

comp.ts back under its 66k cap: term_peek is one ternary, nat_mul drops its != 0 - #2205

Merged
nicolas-abril merged 1 commit into
bendlang:mainfrom
nicolas-abril:fix/comp-cap
Nov 18, 2026
Merged

nicolas-abril merged 1 commit into
bendlang:mainfrom
nicolas-abril:fix/comp-cap

Conversation

@nicolas-abril

Copy link
Copy Markdown
Collaborator

#2174 and #2198 each fit the cap alone, but together they put comp.ts at 66,009 tokens. #2198 was merged without the trims that offset it. This brings comp.ts back to 65,995 without changing behavior:

  • term_peek is one ternary instead of an if and a return.
  • nat_mul tests (a | b) >> 32 && b without the != 0.
  • rfc_seal names its tag g and joins its last two lines.

The 17 bench/runtime programs compile (-O3) to identical object code before and after. This tree is byte-identical to the one that passed all four gates (repo 56/56, test 1865/1865, perf 124/124, ping 84/84).

🤖 Generated with Claude Code

…fit the comp.ts cap

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nicolas-abril
nicolas-abril merged commit c512ce2 into bendlang:main Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant