code-corps / code-corps/code-corps-api
Benchmark Enum.flat_map vs Enum.map |> List.flatten in GitHub.API
Aperta
- Lingua principale
- Elixir
- Stelle
- 234
- Fork
- 82
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
# Problem
I just read (oddly in `benchee`'s README) that `Enum.map |> List.flatten` is 1.83x slower than `Enum.flat_map`.
We should maybe evaluate if we can replace this logic in `GitHub.API` by benchmarking it.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.