Skip to content

Commit

Permalink
Fix MemSize instance for modified IntTrie
Browse files Browse the repository at this point in the history
  • Loading branch information
edsko committed Sep 23, 2013
1 parent 6760701 commit 28a6c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/IntTrie.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 28a6c6e

Please sign in to comment.