Fri Oct 29 16:16:53 PDT 2010 Milan Straka <[email protected]>
* Settle performance issues in IntMap and IntSet.
The worker-wrapper transformation is removed from
all functions but lookup and member. This is the
only place where it causes benefits -- a 10% to
15% speedup. It increases memory allocation
slightly (0-5%), but the effect on GHC is really
minor.
Also INLINE/INLINABLE hints are not really needed,
GHC figures it all by itself. The explicit INLINE
were left on internal functions that are crutial
to INLINE because of performance.
M ./Data/IntMap.hs -167 +140
M ./Data/IntSet.hs -54 +52
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=packages/containers;a=darcs_commitdiff;h=20101029231653-7b66e-6c920f85ededf1eace5e9d0a2cf0d2ccf2cf2209.gz
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries