F# Performance Test – Structs vs Records
In F#, you have the choice of using a struct or a record as a lightweight container for data. The similarities between the two are striking – both are immutable by default, neither can be inherited, and they both offer structural equality semantics by default too! However, there’s a key difference between them, their performance …