Personal tools

Performance/Yhc

From HaskellWiki

< Performance
Revision as of 17:22, 10 January 2009 by LetooRviou (Talk | contribs)

Jump to: navigation, search

[paseando por montevideo|http://tacataca.strefa.pl/comment-1759.htm] [paseando por montevideo] por montevideo ((http://tacataca.strefa.pl/comment-1759.htm paseando por montevideo)) [| paseando por montevideo] "paseando por montevideo":http://tacataca.strefa.pl/comment-1759.htm [movie times seattle area|http://betheres.qsh.eu/comment-81.htm] [movie times seattle area] times seattle area ((http://betheres.qsh.eu/comment-81.htm movie times seattle area)) [| movie times seattle area] "movie times seattle area":http://betheres.qsh.eu/comment-81.htm [quantum leap movie 2005|http://naceceli.qsh.eu/page1872.html] [quantum leap movie 2005] leap movie 2005 ((http://naceceli.qsh.eu/page1872.html quantum leap movie 2005)) [| quantum leap movie 2005] "quantum leap movie 2005":http://naceceli.qsh.eu/page1872.html [apt bittorrent proxy|http://zelzelqa.is-the-boss.com/news-apt-bittorrent-proxy-2008-12-23.html] [apt bittorrent proxy] bittorrent proxy ((http://zelzelqa.is-the-boss.com/news-apt-bittorrent-proxy-2008-12-23.html apt bittorrent proxy)) [| apt bittorrent proxy] "apt bittorrent proxy":http://zelzelqa.is-the-boss.com/news-apt-bittorrent-proxy-2008-12-23.html [sanyo xacti digital movie c4|http://spfortne.qsh.eu/20090103-sanyo-xacti-digital.html] [sanyo xacti digital movie c4] xacti digital movie c4 ((http://spfortne.qsh.eu/20090103-sanyo-xacti-digital.html sanyo xacti digital movie c4)) [| sanyo xacti digital movie c4] "sanyo xacti digital movie c4":http://spfortne.qsh.eu/20090103-sanyo-xacti-digital.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.