code-corps / code-corps/code-corps-api
Benchmark Enum.flat_map vs Enum.map |> List.flatten in GitHub.API
Abierto
- Lenguaje dominante
- Elixir
- Estrellas
- 234
- Forks
- 82
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
# 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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.