Performance/IO

From HaskellWiki
< Performance
Revision as of 07:03, 17 February 2006 by DonStewart (talk | contribs) (hGetBuf, and mmapped IO are options)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

IO

If the standard lazy IO operations are proving to be a bottleneck, buffer-based IO is an alternative (hGetBuf/hPutBuf). This can be particularly effective when combined with packed strings.

Some external libraries also provide memory mapped IO.