cvs commit: fptools/ghc/lib/std PrelMarshalAlloc.lhs

Simon Marlow simonmar@glass.cse.ogi.edu
Wed, 8 Aug 2001 07:36:14 -0700


simonmar    2001/08/08 07:36:14 PDT

  Modified files:
    ghc/lib/std          PrelMarshalAlloc.lhs 
  Log:
  Define allocaBytes in terms of the new pinned ByteArray primitives.
  This version is over 6 times faster than the old version using
  malloc/free.
  
  Revision  Changes    Path
  1.3       +15 -2     fptools/ghc/lib/std/PrelMarshalAlloc.lhs