Parsing big files

James Hague <>
Tue Dec 5 18:30:29 CET 2000


Ulf's example is the way to go--processing a line at a time--but I thought
I'd mention that with R7 it can be memory efficient to load and parse text
files as *binaries*, not as text.  This prevents the 8x blow-up you get when
a file is turned into raw text.  You can deal with much larger files this
way.

James




More information about the erlang-questions mailing list