ghc-datasize is a tool to determine the size of Haskell data structures in GHC's memory
Haskell
Switch branches/tags
Nothing to show
Clone or download
def- Merge pull request #4 from erikd/master
Add function recursiveSizeNF
Latest commit a4d190e Aug 17, 2016

Readme.md

ghc-datasize

Build Status

Ghc-datasize provides functions to determine the size of Haskell data structures in memory at run time. Determining the size of circular data structures is supported. All sizes are reported in bytes.

Determining the size of simple data structures is relatively quick, but large and complex data structures can be slow. For large and complex structures the user may want to find a way to calculate the size of a small subset of the data and estimate the size of the full data structure from that.