hashtables 1.1.0.2 → 1.1.2.0
raw patch · 5 files changed
+21/−10 lines, 5 filesdep ~hashabledep ~vector
Dependency ranges changed: hashable, vector
Files
- benchmark/hashtable-benchmark.cabal +4/−4
- benchmark/src/Main.hs +5/−0
- hashtables.cabal +4/−4
- src/Data/HashTable/IO.hs +6/−0
- test/hashtables-test.cabal +2/−2
benchmark/hashtable-benchmark.cabal view
@@ -19,21 +19,21 @@ build-depends: base >= 4 && <5, base16-bytestring == 0.1.*,- bytestring >= 0.10 && <0.11,+ bytestring >= 0.9 && <0.11, containers >= 0.4 && <0.6, criterion >= 0.5 && <0.7, csv == 0.1.*, deepseq >= 1.1 && <1.4, filepath == 1.*,- hashable >= 1.1 && <2,- hashtables >= 1.0.1.3 && <1.1,+ hashable >= 1.1 && <1.2 || >= 1.2.1 && <1.3,+ hashtables >= 1.0 && <1.3, mtl == 2.*, mwc-random >= 0.8 && <0.13, primitive, statistics >= 0.8 && <0.11, threads >= 0.4 && <0.6, unordered-containers >= 0.2 && <0.3,- vector >= 0.7 && <0.11,+ vector >= 0.7 && <0.12, vector-algorithms >= 0.5 && <0.6 if flag(chart)
benchmark/src/Main.hs view
@@ -30,6 +30,11 @@ ------------------------------------------------------------------------------+#if !MIN_VERSION_bytestring(0,10,0)+instance NFData ByteString+#endif++------------------------------------------------------------------------------ dataMap :: (Ord k, Eq k) => DataStructure (Operation k) dataMap = setupData Map.empty f where
hashtables.cabal view
@@ -1,12 +1,12 @@ Name: hashtables-Version: 1.1.0.2+Version: 1.1.2.0 Synopsis: Mutable hash tables in the ST monad Homepage: http://github.com/gregorycollins/hashtables License: BSD3 License-file: LICENSE Author: Gregory Collins Maintainer: greg@gregorycollins.net-Copyright: (c) 2011-2012, Google, Inc.+Copyright: (c) 2011-2013, Google, Inc. Category: Data Build-type: Simple Cabal-version: >= 1.8@@ -170,9 +170,9 @@ Data.HashTable.Internal.Linear.Bucket Build-depends: base >= 4 && <5,- hashable >= 1.1 && <2,+ hashable >= 1.1 && <1.2 || >= 1.2.1 && <1.3, primitive,- vector >= 0.7 && < 0.11+ vector >= 0.7 && <0.12 if flag(portable) cpp-options: -DNO_C_SEARCH -DPORTABLE
src/Data/HashTable/IO.hs view
@@ -176,6 +176,12 @@ Int -> [(k,v)] -> IO (IOHashTable h k v) fromListWithSizeHint n = stToIO . C.fromListWithSizeHint n {-# INLINE fromListWithSizeHint #-}+{-# SPECIALIZE INLINE fromListWithSizeHint :: (Eq k, Hashable k) =>+ Int -> [(k,v)] -> IO (BasicHashTable k v) #-}+{-# SPECIALIZE INLINE fromListWithSizeHint :: (Eq k, Hashable k) =>+ Int -> [(k,v)] -> IO (LinearHashTable k v) #-}+{-# SPECIALIZE INLINE fromListWithSizeHint :: (Eq k, Hashable k) =>+ Int -> [(k,v)] -> IO (CuckooHashTable k v) #-} ------------------------------------------------------------------------------
test/hashtables-test.cabal view
@@ -64,7 +64,7 @@ cpp-options: -DUSE_SSE_4_1 Build-depends: base >= 4 && <5,- hashable >= 1.1 && <2,+ hashable >= 1.1 && <1.2 || >= 1.2.1 && <1.3, mwc-random >= 0.8 && <0.13, primitive, QuickCheck >= 2.3.0.2,@@ -111,7 +111,7 @@ cpp-options: -DUSE_SSE_4_1 Build-depends: base >= 4 && <5,- hashable >= 1.1 && <2,+ hashable >= 1.1 && <1.2 || >= 1.2.1 && <1.3, mwc-random >= 0.8 && <0.13, QuickCheck >= 2.3.0.2 && <3, HUnit >= 1.2 && <2,