Permalink
Browse files

Fix MemSize instance for modified IntTrie

  • Loading branch information...
1 parent 6760701 commit 28a6c6e926d3cea12bc0b997a459d11b2aa66a22 @edsko edsko committed Sep 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Data/IntTrie.hs
View
@@ -42,7 +42,7 @@ newtype IntTrie k v = IntTrie (A.UArray Word32 Word32)
$(deriveSafeCopy 1 'base ''IntTrie)
instance MemSize (IntTrie k v) where
- memSize (IntTrie o) = memSizeUArray 2 o
+ memSize (IntTrie o) = memSizeUArray 4 o
-- Compact, read-only implementation of a trie. It's intended for use with file
-- paths, but we do that via string ids.

0 comments on commit 28a6c6e

Please sign in to comment.