Skip to content

Optimize stale dependency module lookups - #15656

Merged
josevalim merged 1 commit into
elixir-lang:mainfrom
preciz:optimize-manifest-module-lookups
Jul 23, 2026
Merged

Optimize stale dependency module lookups#15656
josevalim merged 1 commit into
elixir-lang:mainfrom
preciz:optimize-manifest-module-lookups

Conversation

@preciz

@preciz preciz commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Assisted by: GPT 5.6 Sol : Codex CLI

Reuse the manifest modules map instead of copying its keys into a list and scanning that list for every dependency export.
Pattern matches module keys directly.

I haven't provided a benchmark script since this is about removing extra work mostly and the speedup is negligible.

Reuse the manifest modules map instead of copying its keys into a list and scanning that list for every dependency export.
Pattern matches module keys directly.
@josevalim
josevalim merged commit 1570992 into elixir-lang:main Jul 23, 2026
15 checks passed
@josevalim

Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants