Changing Immutable Collections
A developer's experience migrating from ImmutableList/ImmutableDictionary to the more efficient ImmutableArray and FrozenDictionary in C# for specific usage patterns.
A developer's experience migrating from ImmutableList/ImmutableDictionary to the more efficient ImmutableArray and FrozenDictionary in C# for specific usage patterns.
Compares performance of C# collection types like List<T>, ReadOnlyCollection<T>, ImmutableArray<T>, and ImmutableList<T> in iteration benchmarks.
Explains the new FrozenSet and FrozenDictionary collections in .NET 8, detailing their performance benefits and differences from read-only and immutable collections.
Explains the difference between ReadOnlyCollection and truly immutable collections in C#, showing how underlying data can still change.
Explores the complexities and misconceptions around immutable collections in Java, arguing against adding a dedicated 'Immutable' type to the JDK.