Fast Elixir is a curated collection of performance-focused best practices, idioms, and code snippets for writing efficient Elixir programs. The project documents common patterns in Elixir and compares their relative performance using benchmarks to guide developers toward faster and more memory-friendly code. By showcasing side-by-side examples, it highlights not only which approaches are faster but also why certain functions or techniques should be preferred in different scenarios. The repository is designed as a practical reference for developers who want to optimize Elixir applications without diving into premature micro-optimizations. Its goal is not just speed but also clarity, ensuring that performance improvements do not come at the cost of readability and maintainability. With continuously updated examples, Fast Elixir helps both beginners and experienced Elixir programmers adopt better habits and avoid slow patterns.
Features
- Performance idioms catalog for Elixir
- Benchmarks for string ops, map lookups, list ops, etc
- Uses benchee for standardized benchmarking
- Provides code examples in code/ directory
- Covers processes, ETS tables, atoms, enums
- Community-driven contributions encouraged