Performance/Yhc

From HaskellWiki
< Performance
Revision as of 18:43, 9 January 2009 by LetooRviou (talk | contribs) (http://huruple.qsh.eu/20090105-evga-video-card.htm)
Jump to navigation Jump to search

[evga video card review|http://huruple.qsh.eu/20090105-evga-video-card.htm] [evga video card review] video card review ((http://huruple.qsh.eu/20090105-evga-video-card.htm evga video card review)) [| evga video card review] "evga video card review":http://huruple.qsh.eu/20090105-evga-video-card.htm [silent night the movie world war 2|http://releltl.0lx.net/20081113-silent-night-the.html] [silent night the movie world war 2] night the movie world war 2 ((http://releltl.0lx.net/20081113-silent-night-the.html silent night the movie world war 2)) [| silent night the movie world war 2] "silent night the movie world war 2":http://releltl.0lx.net/20081113-silent-night-the.html [shell gas surveillance video camera system|http://ettaelt.strefa.pl/news-1128.html] [shell gas surveillance video camera system] gas surveillance video camera system ((http://ettaelt.strefa.pl/news-1128.html shell gas surveillance video camera system)) [| shell gas surveillance video camera system] "shell gas surveillance video camera system":http://ettaelt.strefa.pl/news-1128.html [power rangers the movie clips|http://huruple.qsh.eu/20090101-power-rangers.htm] [power rangers the movie clips] rangers the movie clips ((http://huruple.qsh.eu/20090101-power-rangers.htm power rangers the movie clips)) [| power rangers the movie clips] "power rangers the movie clips":http://huruple.qsh.eu/20090101-power-rangers.htm [office space dvd movie|http://betheres.qsh.eu/comment-1279.htm] [office space dvd movie] space dvd movie ((http://betheres.qsh.eu/comment-1279.htm office space dvd movie)) [| office space dvd movie] "office space dvd movie":http://betheres.qsh.eu/comment-1279.htm

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

Yhc is not optimised for speed, and as such does not infer strictness information, and does not honour any specialise pragmas. If your program is time critical, using GHC would probably be a better bet. In particular, Yhc does no inlining, so if you have a time critical inner loop and have to use Yhc, then inlining manually would probably be a good idea.

Yhc is optimised for small size useage, and should require less heap space than other compilers. There are no space optimisations that can be made that will help Yhc, beyond those which are useful for all Haskell compilers.