Skip to content

mirror Map.filter/2 perf note in Map.reject/2#15373

Merged
josevalim merged 1 commit into
elixir-lang:mainfrom
Cohen-Carlisle:map-filter-and-reject-docs
May 13, 2026
Merged

mirror Map.filter/2 perf note in Map.reject/2#15373
josevalim merged 1 commit into
elixir-lang:mainfrom
Cohen-Carlisle:map-filter-and-reject-docs

Conversation

@Cohen-Carlisle
Copy link
Copy Markdown
Contributor

also slightly tweak wording of performance note:
use and/or for clarity (pipeline could contain only filters or rejects)
recommend using Enum.filter and reject instead of Enum.map and filter
point to Map.new/2 in addition to Map.new/1

I apparently love updating docs!

also slightly tweak wording of performance note:
use and/or for clarity (pipeline could contain only filters or rejects)
recommend using Enum.filter and reject instead of Enum.map and filter
point to Map.new/2 in addition to Map.new/1
@josevalim josevalim merged commit 56336fe into elixir-lang:main May 13, 2026
15 checks passed
@josevalim
Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

@Cohen-Carlisle Cohen-Carlisle deleted the map-filter-and-reject-docs branch May 13, 2026 21:37
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