cvs commit: fptools/libraries/base/Foreign/C String.hs
Simon Marlow
simonmar at glass.cse.ogi.edu
Tue Oct 21 07:24:31 EDT 2003
simonmar 2003/10/21 06:24:31 PDT
Modified files:
libraries/base/Foreign/C String.hs
Log:
Make the GHC implementation of peekCString run in constant stack-space
by checking the length of the array first and then working backwards
from the end. Interestingly, this version is faster than the original.
Revision Changes Path
1.13 +5 -5 fptools/libraries/base/Foreign/C/String.hs
More information about the Cvs-libraries
mailing list