[erlang-questions] Speed of CSV parsing: how to read 1M of lines in 1 second

Tomasz Maciejewski <>
Fri Mar 23 14:03:28 CET 2012


W dniu 23 marca 2012 11:30 użytkownik Max Lapshin
<> napisał:
> Currently I use fgets to read line by line from file. Maybe it is a
> bad idea and I should use mmap or implement 1MB buffer for read?

mmap is the fastest way to read lines is you don't much care about portability.

-- 
Tomasz Maciejewski



More information about the erlang-questions mailing list