cvs commit: fptools/libraries/base/Foreign/Marshal Array.hs
Simon Marlow
simonmar at glass.cse.ogi.edu
Tue Oct 21 07:27:14 EDT 2003
simonmar 2003/10/21 06:27:14 PDT
Modified files:
libraries/base/Foreign/Marshal Array.hs
Log:
Make peekArray0 run in constant stack-space by testing the length of
the array first, then calling peekArray (which works backwards from
the end so it can be tail-recursive).
Revision Changes Path
1.13 +3 -7 fptools/libraries/base/Foreign/Marshal/Array.hs
More information about the Cvs-libraries
mailing list