Skip to content

Avoid redundant per-byte check_nesting! call in Plug.Conn.Query.split_keys/7 - #1333

Merged
josevalim merged 1 commit into
elixir-plug:mainfrom
preciz:perf/remove-redundant-check-nesting
Oct 21, 2026
Merged

josevalim merged 1 commit into
elixir-plug:mainfrom
preciz:perf/remove-redundant-check-nesting

Conversation

@preciz

@preciz preciz commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

The check is redundant because the nesting count only increases at bracket delimiters, which already validate the count.

…_keys/7

The check is redundant because the nesting count only increases at bracket delimiters, which already validate the count.
@josevalim
josevalim merged commit adc1482 into elixir-plug:main Oct 21, 2026
2 checks passed
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