axelson

axelson

Scenic Core Team

ElixirConf 2019: High Performance String Processing Scripts in Elixir - Johanna Larsson

by @jola

Can you write a performant string processing scripts in Elixir? This talk attempts to answer that question while incrementally optimizing a simple implementation of a script, introducing many interesting parts of Elixir on the way, including ETS, iolists, compiled binary patterns, and concurrency. With a little bit of knowledge, we end up with a 10x speedup over the original implementation, and Elixir becomes a viable and performant scripting language, and this also carries over into most data processing tasks.

But what are the risks and trade-offs when optimizing, and how do you do it in a productive way?

And here’s a link to the forum post related to the talk: Erlang/Elixir string performance - can this be improved? - #39 by jola

View all threads tagged with performance
View all elixirconf2019 talks

Most Liked

AstonJ

AstonJ

Great talk @jola!

It was fantastic following the journey seeing it get down to 7 seconds - second only to C at 4 seconds! Well done :023:

Also thank you for the reminder of Joe’s quote:

:orange_heart:

sanswork

sanswork

Agreed, one of my favourites so far. I really enjoyed the incremental nature of the improvements, super fun and educational.

Where Next?

Popular in Talks Top

axelson
ElixirConf 2017 - Dr. Erlang/OTP or: How I Learned to Stop Worrying and Love :disk_log - Eric Entin Even aft...
New
axelson
ElixirConf 2017 - Working with legacy databases in Ecto - @geo Often when starting an Elixir or Phoenix proj...
New
axelson
by @zacky1972 Finally, we’ve succeeded in the implementation of Hastega!!! (Maybe until ElixirConf US 2019 :slight_smile: Hastega (Hyp...
New
axelson
Here’s the last ElixirConf 2017 video of day one! ElixirConf 2017 - Scaling up Elixir at TpT - by @shanti I...
New
axelson
Posting a little bit late today but here you go: ElixirConf 2017 - Elixir + Neo4j - Regina Imhoff Neo4j is ...
New
axelson
by @takasehideki Can you imagine that your Elixir code will be executed as a hardware circuit on an FPGA? The FPGA (Field-Programmable...
New
New
axelson
ElixirConf 2017 - Live APIs with GraphQL Subscriptions - @bruce and @benwilson512 APIs have gone live with G...
New
CodeSync
Code Sync: Keynote: The Road To LiveView 1.0 by Chris McCord | ElixirConf EU 2023 Comments welcome! View the #code-sync and #elixirconf-...
New
New

Other popular topics Top

sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
New
Tee
can someone please explain to me how Enum.reduce works with maps
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> someth...
New

We're in Beta

About us Mission Statement