[commit: packages/containers] ghc-head: Strict modules only strict in values inserted (40308a4)
git at git.haskell.org
git at git.haskell.org
Wed Sep 4 21:24:48 CEST 2013
Repository : ssh://git@git.haskell.org/containers
On branch : ghc-head
Link : http://git.haskell.org/?p=packages/containers.git;a=commit;h=40308a48959301152879d1a0d65f3cd4ae91e2a3
>---------------------------------------------------------------
commit 40308a48959301152879d1a0d65f3cd4ae91e2a3
Author: Johan Tibell <johan.tibell at gmail.com>
Date: Fri Aug 30 11:26:51 2013 -0700
Strict modules only strict in values inserted
Before all value arguments would be evaluated, now they are only
evaluated if they are actually inserted into the map.
>---------------------------------------------------------------
40308a48959301152879d1a0d65f3cd4ae91e2a3
Data/IntMap.hs | 27 ++--------
Data/IntMap/Strict.hs | 23 ++++----
Data/Map.hs | 61 +++++----------------
Data/Map/Strict.hs | 13 +++--
containers.cabal | 30 +++++++++++
tests/IntMapStrictness.hs | 127 ++++++++++++++++++++++++++++++++++++++++++++
tests/MapStrictness.hs | 128 +++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 321 insertions(+), 88 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 40308a48959301152879d1a0d65f3cd4ae91e2a3
More information about the ghc-commits
mailing list