[erlang-questions] Not an Erlang fan

Pierpaolo Bernardi olopierpa@REDACTED
Sun Sep 23 21:17:57 CEST 2007

On 9/23/07, Thomas Lindgren <thomasl_erlang@REDACTED> wrote:

> He's also using the obvious, tempting but very slow
> io:read_line. Reading the entire file into a binary
> takes 7 ms (sic) using file:read_file, not 34 seconds
> using io:read_line as he reports.

He reports 34 seconds for the whole log file of about 1 million lines.
Not for the reduced sample of about 20000 lines that he made
available on the site (a difference of 50x in size).


More information about the erlang-questions mailing list