Skip to content

Optimize Plug.MethodOverride.override_method/2 with direct map pattern match - #1332

Merged
josevalim merged 1 commit into
elixir-plug:mainfrom
preciz:perf/override-method
Oct 21, 2026
Merged

josevalim merged 1 commit into
elixir-plug:mainfrom
preciz:perf/override-method

Conversation

@preciz

@preciz preciz commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

It's less code and faster but given the refactor mostly removes things I don't think there is a need for a benchmark.

@josevalim
josevalim merged commit 8ac921c 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