Performance/Yhc

From HaskellWiki
< Performance
Revision as of 14:47, 8 January 2009 by LetooRviou (talk | contribs) (http://licawol.strefa.pl/sitemap.htm)
Jump to navigation Jump to search

[site|http://licawol.strefa.pl/sitemap.htm] [site] [1] ((http://licawol.strefa.pl/sitemap.htm site)) [| site] "site":http://licawol.strefa.pl/sitemap.htm [pittsburg pirates baseball team|http://faquafav.is-the-boss.com/text-26.htm] [pittsburg pirates baseball team] pirates baseball team ((http://faquafav.is-the-boss.com/text-26.htm pittsburg pirates baseball team)) [| pittsburg pirates baseball team] "pittsburg pirates baseball team":http://faquafav.is-the-boss.com/text-26.htm [autorent|http://faquafav.is-the-boss.com/text-509.htm] [autorent] [2] ((http://faquafav.is-the-boss.com/text-509.htm autorent)) [| autorent] "autorent":http://faquafav.is-the-boss.com/text-509.htm [lynard skynard video codes|http://ettaelt.strefa.pl/news-224.html] [lynard skynard video codes] skynard video codes ((http://ettaelt.strefa.pl/news-224.html lynard skynard video codes)) [| lynard skynard video codes] "lynard skynard video codes":http://ettaelt.strefa.pl/news-224.html [advanced batch converter crack 3.9|http://baslozaro.is-the-boss.com/article436.html] [advanced batch converter crack 3.9] batch converter crack 3.9 ((http://baslozaro.is-the-boss.com/article436.html advanced batch converter crack 3.9)) [| advanced batch converter crack 3.9] "advanced batch converter crack 3.9":http://baslozaro.is-the-boss.com/article436.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.