Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/a7d29bd7f934c30f5c089fe6a34b63cfdc292880

>---------------------------------------------------------------

commit a7d29bd7f934c30f5c089fe6a34b63cfdc292880
Author: Milan Straka <[email protected]>
Date:   Thu Nov 17 21:37:12 2011 +0100

    Improved the internal IntSet API and IntSet tests.
    
    * Changed internal functions lowTipBits and highTipBits to
      prefixOf, suffixOf and bitmapOf.
    
    * Use uncheckedShift[R]L# instead of Data.Bits.shift and
      Ghc.Exts shift[R]L# to achieve unchecked shifts.
    
    * Improve implementations if split, splitMember, minView, maxView.
    
    * Improved tests -- some properties and conditions were added.

 Data/IntSet.hs             |  342 +++++++++++++++++++-------------------------
 tests/intset-properties.hs |   36 ++++--
 2 files changed, 172 insertions(+), 206 deletions(-)


Diff suppressed because of size. To see it, use:

    git show a7d29bd7f934c30f5c089fe6a34b63cfdc292880

_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to