Skip to content

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

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

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.

@davecheney
davecheney force-pushed the davecheney-mixed-string-comparisons branch from 26cbd22 to ce70b56 Compare October 13, 2026 13:00
@davecheney
davecheney marked this pull request as ready for review October 14, 2026 10:15
@davecheney
davecheney force-pushed the davecheney-mixed-string-comparisons branch from 18a32c9 to 2019822 Compare October 14, 2026 10:17
@davecheney
davecheney requested a review from jakebailey October 14, 2026 10:23
@davecheney
davecheney force-pushed the davecheney-mixed-string-comparisons branch from 2019822 to 510413c Compare October 14, 2026 14:59
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