Elixir is harder than you think
- Dominant language
- Elixir
- Stars
- 1.7k
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
An open discussion: Elixir maybe harder than you think to get it speedy. It is VERY easy to write "inefficient" code.
Some examples:
- [this video](https://www.youtube.com/watch?v=Y83p_VsvRFA) is a good example on how to write beautiful but inefficient Elixir code.
The todo:

The first "poor" first "natural" version:

- a very instructive [video](https://www.youtube.com/watch?v=cONM2YwCO0Y). A comparison of using tuples vs lists vs maps. In particular, `:erlang_disasm.file` and the add-on `beamdasm` if you are very curious.

- [Another video](https://www.youtube.com/watch?v=ICZKZQowiHs). The [repo](https://github.com/groovemonkey/go-elixir-benchmark) with the Go and Elixir 1 & 2 versions.
The todo: **repeatedly pick a random element from a large list of words**
He "solved" the issue of constant time access by using the AJA library
[](https://github.com/sabiwara/aja)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.