0

Possible Duplicate:
Memory footprint of Haskell data types

Simple low-level newbie question, when I say something like

data SomeTree = Null | Red Int32 | Blue Int64 | Tree [SomeTree]

to construct trees, how much bytes does Haskell precisely use for each node, pointers etc. (64-bit machine code) when using GHC?

Community
  • 1
  • 1
Cartesius00
  • 21,471
  • 40
  • 115
  • 185

0 Answers0