any reason switches on poly variants (both with and without args) are compiled to if-else chains rather than switches?
It was discussed before. The motivation is not clear. The size and performance seems to be similar
i mean… it’d probably be a bit more idiomatic? especially compared to how rescript currently compiles _
into if (variant !== "last_case") { default_case } last_case
rather than, say, default: default_case