Merlin (oxcaml): PR #143 proposes cherry-picking granular marshal changes downstream. The PR is untested and not merged.
oxcaml Flambda2: Issue #3914 reports that pattern-matching equality on a nine-variant type compiles to a linear comparison chain rather than a jump table. The issue is open.