Skip to content

compiler: avoid byte slice copies in mixed string comparisons - #5784

Draft
davecheney wants to merge 1 commit into
tinygo-org:devfrom
davecheney:davecheney-mixed-string-comparisons
Draft

davecheney wants to merge 1 commit into
tinygo-org:devfrom
davecheney:davecheney-mixed-string-comparisons

Conversation

@davecheney

Copy link
Copy Markdown
Contributor

No description provided.

@dgryski

dgryski commented Sep 29, 2026

Copy link
Copy Markdown
Member

From a corrrectness standpoint the test corpus is happy with this change, but we should figure out what's happening with the AVR build (and also the binary size test failed CI).

@davecheney
davecheney force-pushed the davecheney-mixed-string-comparisons branch from c535c5d to 26cbd22 Compare September 30, 2026 09:25
@davecheney

Copy link
Copy Markdown
Contributor Author

From a corrrectness standpoint the test corpus is happy with this change, but we should figure out what's happening with the AVR build (and also the binary size test failed CI).

The AVR build needs an exception, like math.go, because after inlining main.main is large enough it needs more stack than simavr provides.

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.

2 participants