You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Random aside: is there any way to get GHC to calculate a top-level thing like ghcStatsSizeInBytes at compile time w/o $([| x |])? Would inline + -O2 work?
I do understand how it works but I don't know how often the semantics of e.g. sizeofByteArray will change, or if unpackClosure will be around forever, etc.
But if you meant how likely is it to work on Haskell things, I assume it is accurate for all closures (data constructors, functions, and thunks).
I see some hard-coded 8s in
Weigh.GHCStats
that assume a 64 bit architecture. I can think of two ways to fix this:SIZEOF_HSWORD
The text was updated successfully, but these errors were encountered: