oxcaml Flambda2: #3914 reports that pattern-matching equality on a nine-variant type compiles to a linear comparison chain rather than a jump table, producing suboptimal code. The issue is open and labelled flambda2.
OxCaml covers the compiler extensions and their supporting tools and packages.