Performance/IO
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Haskell Performance Resource
Constructs: Techniques: |
I/O
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 (see wc).
Some external libraries also provide memory mapped IO.
You may also wish to check out Library/Streams for a new approach to I/O.