[darcs-devel] darcs patch: Start converting FastPackedString into a... (and 4 more)

Eric Kow eric.kow at gmail.com
Tue Feb 5 10:34:57 UTC 2008


Second attempt at sending this.
Note that this appears to pass all tests.  You have define HAVE_BYTESTRING
by hand, though.

Sun Feb  3 23:51:11 GMT 2008  Eric Kow <E.Y.Kow at brighton.ac.uk>
  * Start converting FastPackedString into a Data.ByteString wrapper.

Tue Feb  5 09:06:59 GMT 2008  Eric Kow <E.Y.Kow at brighton.ac.uk>
  * Add OldFastPackedString for people without the latest bytestring.
  
  Data.ByteString was included with GHC 6.6, but it seems the Data.ByteString.Internal
  part of the API was only introduced in a later version.

Tue Feb  5 09:27:19 GMT 2008  Eric Kow <E.Y.Kow at brighton.ac.uk>
  * Restore old FastPackedString version of linesPS and unlinesPS.
  They behave slightly differently with respect to newlines.

Tue Feb  5 09:28:29 GMT 2008  Eric Kow <E.Y.Kow at brighton.ac.uk>
  * Restore some original FastPackedString code.
  It was hanging on some tests, or running out of stack space.

Tue Feb  5 09:30:00 GMT 2008  Eric Kow <E.Y.Kow at brighton.ac.uk>
  * Stricter use of BI.toForeignPtr in FastPackedString.
  
  I don't know if this actually makes a difference.  Indeed, the intention behind
  this patch is to avoid introducing any extra laziness where none was found before.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 142809 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20080205/b88c2511/attachment-0001.bin 


More information about the darcs-devel mailing list