Important update: Fix for performance issue in `Lst<A>`
A bug had crept into the Lst<A>
type which would cause a complete rebuild of the data-structure when performing a transformation operation (like Add(x)
). This was caught whilst building benchmarks for comparisons with Seq<A>
and the .NET ImmutableList<T>
type.
The performance gets exponentially worse as more items are added to the collection, and so if you're using Lst<A>
for anything at all then it's advised that you get this update.
Luckily, there are now benchmarks in the LanguageExt.Benchmarks project that will pick up issues like these if they arise again in the future.