Skip to content

refactor: share invalid header handling#221

Open
thaliaarchi wants to merge 1 commit into
seanmonstar:masterfrom
thaliaarchi:dedupe-invalid-header
Open

refactor: share invalid header handling#221
thaliaarchi wants to merge 1 commit into
seanmonstar:masterfrom
thaliaarchi:dedupe-invalid-header

Conversation

@thaliaarchi

Copy link
Copy Markdown
Contributor

handle_invalid_char! duplicates the invalid char recovery loop at all macro expansions. Share it with a labeled block. This reduces code size by about 3KiB.

@thaliaarchi

Copy link
Copy Markdown
Contributor Author

Benchmark differences look like only noise, but you should take a look.

You'll want to ignore the indentation change in the diff.

handle_invalid_char! duplicates the invalid char recovery loop at all
macro expansions. Share it with a labeled block. This reduces code size
by about 3KiB.
@thaliaarchi thaliaarchi force-pushed the dedupe-invalid-header branch from d27d5e7 to fb28959 Compare June 23, 2026 20:54
@thaliaarchi

Copy link
Copy Markdown
Contributor Author

Spurious CI failure. Can you rerun it?

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