[project @ 2003-03-27 13:54:31 by simonmar]
authorsimonmar <unknown>
Thu, 27 Mar 2003 13:54:32 +0000 (13:54 +0000)
committersimonmar <unknown>
Thu, 27 Mar 2003 13:54:32 +0000 (13:54 +0000)
commitbf8b921f2baf1135d23e6a80a8b0bc5e258c1c45
tree83e0602b0ab391dd14152a5f10e88014af4fe369
parentb52d5ab796622dbfba963a8b591e6abb76a0f5fb
[project @ 2003-03-27 13:54:31 by simonmar]
Two performance tweaks:

  - Use specialised indirections, which perform the right kind of
    return without needing to enter the object they point to.  This
    saves a small percentages of memory reads.

  - Tweak the update code to generate better code with gcc.  This
    saves a few instructions per update.
ghc/includes/StgMiscClosures.h
ghc/includes/Updates.h
ghc/rts/StgMiscClosures.hc
ghc/rts/Storage.h
ghc/rts/Updates.hc