cvs commit: fptools/libraries/base/Foreign/Marshal Array.hs

Simon Marlow simonmar@glass.cse.ogi.edu
Tue, 28 Jan 2003 03:07:40 -0800


simonmar    2003/01/28 03:07:40 PST

  Modified files:
    libraries/base/Foreign/Marshal Array.hs 
  Log:
  Hand-optimised versions of pokeArray and pokeArray0 (selected via
  #ifdef __GLASGOW_HASKELL__).
  
  I tried to make these functions amenable to deforestation, but
  couildn't quite get it to work, so in the meantime we'll settle for
  hand-written versions which are still quite a bit faster than the
  originals.
  
  Revision  Changes    Path
  1.10      +15 -3     fptools/libraries/base/Foreign/Marshal/Array.hs