See here: https://github.com/dotnet/fsharp/pull/10860 https://github.com/dotnet/fsharp/pull/10845 These optimizations should also get applied to the internal TaggedCollections equivalents so that the F# compiler can benefit from them.