Sync with FPS head
authordons@cse.unsw.edu.au <unknown>
Wed, 3 May 2006 10:52:59 +0000 (10:52 +0000)
committerdons@cse.unsw.edu.au <unknown>
Wed, 3 May 2006 10:52:59 +0000 (10:52 +0000)
commit3bdb7f5a1cf6de821f032f9507dd35433afd1d3d
tree9bc1571253f163529dbc91f4e7ab1726142e156c
parent0b68c7f0b0924fba7e264bece11c40a1ee170cf4
Sync with FPS head

This patch brings Data.ByteString into sync with the FPS head.
The most significant of which is the new Haskell counting sort.

Changes:

Sun Apr 30 18:16:29 EST 2006  sjanssen@cse.unl.edu
  * Fix foldr1 in Data.ByteString and Data.ByteString.Char8

Mon May  1 11:51:16 EST 2006  Don Stewart <dons@cse.unsw.edu.au>
  * Add group and groupBy. Suggested by conversation between sjanssen and petekaz on #haskell

Mon May  1 16:42:04 EST 2006  sjanssen@cse.unl.edu
  * Fix groupBy to match Data.List.groupBy.

Wed May  3 15:01:07 EST 2006  sjanssen@cse.unl.edu
  * Migrate to counting sort.

  Data.ByteString.sort used C's qsort(), which is O(n log n).  The new algorithm
  is O(n), and is faster for strings larger than approximately thirty bytes.  We
  also reduce our dependency on cbits!
Data/ByteString.hs
Data/ByteString/Char8.hs
cbits/fpstring.c
include/fpstring.h