fast IO in ghc
Hal Daume III
hdaume@ISI.EDU
Tue, 2 Apr 2002 20:36:16 -0800 (PST)
I tend to deal a lot with very very large data files in Haskell and my
current approach to dealing with getting data out of one program an into
another is writing it to a file using 'show' and then reading it in using
'read'. Unfortunately, this is very slow and produces very large files
which are very slow to read and write. Is there another option? I don't
care about H98 compatibility, so if there's a way to somehow just dump
ghc's internal representation (I also don't care about x-platformness) to
a file and read it back, that would be excellent. Other suggestions are
welcome too :).
--
Hal Daume III
"Computer science is no more about computers | hdaume@isi.edu
than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume