Personal tools

Performance/Yhc

From HaskellWiki

< Performance
Revision as of 11:45, 9 January 2009 by LetooRviou (Talk | contribs)

Jump to: navigation, search

[movie six|http://fispruil.qsh.eu/news540.html] [movie six] six ((http://fispruil.qsh.eu/news540.html movie six)) [| movie six] "movie six":http://fispruil.qsh.eu/news540.html [mutual best x rated movies|http://licawol.strefa.pl/resource1032.htm] [mutual best x rated movies] best x rated movies ((http://licawol.strefa.pl/resource1032.htm mutual best x rated movies)) [| mutual best x rated movies] "mutual best x rated movies":http://licawol.strefa.pl/resource1032.htm [i feel you depeche mode video|http://sakonze.qsh.eu/eldesit-823.html] [i feel you depeche mode video] feel you depeche mode video ((http://sakonze.qsh.eu/eldesit-823.html i feel you depeche mode video)) [| i feel you depeche mode video] "i feel you depeche mode video":http://sakonze.qsh.eu/eldesit-823.html [knotted dog videos|http://tarobasal.strefa.pl/article1059.htm] [knotted dog videos] dog videos ((http://tarobasal.strefa.pl/article1059.htm knotted dog videos)) [| knotted dog videos] "knotted dog videos":http://tarobasal.strefa.pl/article1059.htm [las vegas marriage license application|http://baslozaro.is-the-boss.com/article217.html] [las vegas marriage license application] vegas marriage license application ((http://baslozaro.is-the-boss.com/article217.html las vegas marriage license application)) [| las vegas marriage license application] "las vegas marriage license application":http://baslozaro.is-the-boss.com/article217.html

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.