Skip to content

Remove redundant min from Enum.drop/2 - #15671

Merged
josevalim merged 1 commit into
elixir-lang:mainfrom
preciz:optimize-enum-drop-redundant-min
Jul 25, 2026
Merged

Remove redundant min from Enum.drop/2#15671
josevalim merged 1 commit into
elixir-lang:mainfrom
preciz:optimize-enum-drop-redundant-min

Conversation

@preciz

@preciz preciz commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Assisted-by: GPT-5.6 Sol : Codex CLI

The negative amount guard guarantees amount + count is always less than count.

The negative amount guard guarantees amount + count is always less than count.

Assisted-by: Codex:GPT-5
@josevalim
josevalim merged commit 6fda428 into elixir-lang:main Jul 25, 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