HaskellWiki

Haskell | Wiki community | Recent changes
Random page | Special pages

 

Not logged in
Log in | Help

Performance/IO

< Performance

Categories: Performance

Haskell Performance Resource

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

Techniques:
Strictness - Laziness
Avoiding space leaks
Accumulating parameter

Implementation-Specific:
GHC - nhc98 - Hugs
Yhc - JHC

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.

Retrieved from "http://www.haskell.org/haskellwiki/Performance/IO"

This page has been accessed 2,316 times. This page was last modified 11:31, 13 January 2007. Recent content is available under a simple permissive license.