4 ms·
If you find this topic interesting you might also like the following talk ElixirConf 2019 - High Performance String Processing Scripts in Elixir - Johanna Lars
by gregors 4y ago
If you find this topic interesting you might also like the following talk
ElixirConf 2019 - High Performance String Processing Scripts in Elixir - Johanna Larsson
https://www.youtube.com/watch?v=Y83p_VsvRFA https://www.youtube.com/watch?v=Y83p_VsvRFA
- ch4s3 4y agoFor those who won't watch the videos, Johanna starts with a string splitting task that takes 4 seconds in C, 9 in Python and 17 in Ruby and starts with a naive approach in Elixir that takes 120s. She eventually comes to a parallel approach using Task.async that trades memory usage for speed and executes in 7s.