Use better names for primitive arrays in profiles
Motivation
Currently when you produce a profile for an application that makes use of primitive arrays, you will get a profile that mentions ARR_WORDS
, ARR_PTRS
, MUT_ARR_PTRS
, etc.
There's this table that matches up what these are to primitive arrays https://bgamari.github.io/posts/2016-03-30-what-is-this-array.html (though it's slightly out-of-date at this point).
But it's a shame we don't just use the names of the primitive types themselves, eg, we could have ByteArray#
instead of ARR_WORDS
.
I think this would help make these easier to read. Users would still need to know what about these primitive arrays, but it would remove a hurdle.
Proposal
Use the actual name of the primitive array types in profiles rather than these aliases.