Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>That's a big topic! Most has been explained elsewhere, so I won't try to write a book chapter right here. Instead:</p> <ul> <li>Real World Haskell, ch 25, "<a href="http://book.realworldhaskell.org/read/profiling-and-optimization.html" rel="nofollow noreferrer">Performance</a>" - discusses profiling, simple specialization and unpacking, reading Core, and some optimizations.</li> </ul> <p>Johan Tibell is writing a lot on this topic:</p> <ul> <li><a href="http://blog.johantibell.com/2011/06/computing-size-of-hashmap.html" rel="nofollow noreferrer">Computing the size of a data structure</a></li> <li><a href="http://blog.johantibell.com/2011/06/memory-footprints-of-some-common-data.html" rel="nofollow noreferrer">Memory footprints of common data types</a></li> <li><a href="http://blog.johantibell.com/2011/03/video-of-my-hashing-based-containers.html" rel="nofollow noreferrer">Faster persistent structures through hashing</a></li> <li><a href="http://blog.johantibell.com/2011/02/slides-from-my-talk-on-reasoning-about.html" rel="nofollow noreferrer">Reasoning about laziness</a></li> </ul> <p>And some things from here:</p> <ul> <li><a href="https://stackoverflow.com/questions/6121146/reading-ghc-core/6121495#6121495">Reading GHC Core</a></li> <li><a href="https://stackoverflow.com/questions/6048194/good-introductory-text-about-ghc-implementation/6048706#6048706">How GHC does optimization</a></li> <li><a href="https://stackoverflow.com/questions/3276240/tools-for-analyzing-performance-of-a-haskell-program/3276557#3276557">Profiling for performance</a></li> <li><a href="https://stackoverflow.com/questions/4626884/improving-treap-implementation/5690580#5690580">Tweaking GC settings</a></li> <li><a href="https://stackoverflow.com/questions/5707250/optimizing-numerical-array-performance-in-haskell/5707388#5707388">General improvements</a></li> <li><a href="https://stackoverflow.com/questions/3115540/haskell-math-performance-on-multiply-add-operation/3134481#3134481">More on unpacking</a></li> <li><a href="https://stackoverflow.com/questions/3131554/what-is-the-relationship-between-unboxed-types-and-strictness/3134654#3134654">Unboxing and strictness</a></li> </ul> <p>And some other things:</p> <ul> <li><a href="http://donsbot.wordpress.com/2009/10/11/self-optimizing-data-structures-using-types-to-make-lists-faster/" rel="nofollow noreferrer">Intro to specialization of code and data</a></li> <li><a href="http://www.haskell.org/ghc/docs/latest/html/users_guide/options-optimise.html#id455084" rel="nofollow noreferrer">Code improvement flags</a></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload