Difference between revisions of "Performance/IO"

From HaskellWiki
Jump to: navigation, search
m (Added link too WC page)
Line 1: Line 1:
{{Performance infobox}}
{{Performance infobox}}

Revision as of 11:31, 13 January 2007

Haskell Performance Resource

Data Types - Functions
Overloading - FFI - Arrays
Strings - Integers - I/O
Floating point - Concurrency
Modules - Monads

Strictness - Laziness
Avoiding space leaks
Accumulating parameter

GHC - nhc98 - Hugs
Yhc - JHC


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.