34

The heap profile for my program, generated by ./program +RTS -hy -p, is dominated by "ARR_WORDS". It doesn't correspond to anything obvious in my program; is it a GHC internal of some sort? How should I treat its dominating appearance in the profile?

I'm using GHC 7.0.3.

1 Answer 1

38

ARR_WORDS is the internal name of ByteArray#, which is a GHC type used to implement e.g. ByteString, Text and unboxed arrays.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.