Goofing around to see if we can beatwc in Elixir
System.cmd("wc",["-l", file])
with native Elixir codeThis project is an attempt to teach about performance in parsing text files in Elixir by using a silly example
that came up on the elixir-lang mailing list. It was a question about parsing the output of a System.cmd
call and using that verses just calling File.stream!("file") |> Enum.count