mlton icon indicating copy to clipboard operation
mlton copied to clipboard

Investigate representation issues for enum-like types

Open jasoncarr0 opened this issue 5 years ago • 0 comments

It was noticed with type spliting https://github.com/MLton/mlton/pull/285 that there was a performance penalty for boolean-like types that were changed to another type. A very naiive translation to Word32's was able to improve their performance when split-types-bool always was enabled, indicating that there may be some cost to the current representation (such as their size, or perhaps bit order).

jasoncarr0 avatar May 15 '19 00:05 jasoncarr0