[commit: containers] master: Remove type of local 'go' function in query methods of Set and Map. (556b80c)
Paolo Capriotti
p.capriotti at gmail.com
Thu Jul 19 21:13:17 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/556b80c6f7b457393428f42700405d04071491de
>---------------------------------------------------------------
commit 556b80c6f7b457393428f42700405d04071491de
Author: Milan Straka <fox at ucw.cz>
Date: Sat Apr 28 16:51:13 2012 +0200
Remove type of local 'go' function in query methods of Set and Map.
The resulting implementations are a bit faster, and there seems to be no
increased heap-allocation. I will confirm this by examining GHC memory
allocation.
Data/Map/Base.hs | 35 ++++-------------------------------
Data/Set/Base.hs | 26 ++++----------------------
2 files changed, 8 insertions(+), 53 deletions(-)
Diff suppressed because of size. To see it, use:
git show 556b80c6f7b457393428f42700405d04071491de
More information about the Cvs-libraries
mailing list