Skip to content

Releases: rameel/ramstack.structures

1.3.1

16 Sep 21:45
4526489

Choose a tag to compare

What's Changed

  • Add TryGetStringView and TryGetArrayView extensions to MemoryMarshal
  • Simplify (optimize) bounds checks in Slice methods

Full Changelog: 1.3.0...1.3.1

1.3.0

14 Aug 17:20
6abe41c

Choose a tag to compare

What's Changed

  • Added MemoryMarshal extensions for unsafe/unchecked StringView/ArrayView creation
  • Remove unnecessary inlining hints
  • Polish xml-comments

Full Changelog: 1.2.5...1.3.0

1.2.5

30 Jun 16:12
8fe4c19

Choose a tag to compare

What's Changed

  • Add support for IAlternateEqualityComparer
  • Add params keyword to StringView.Trim methods for ReadOnlySpan<char>

1.2.4

04 Apr 22:21
a1b6ac8

Choose a tag to compare

What's Changed

  • Improve StringView enumerator performance
  • Optimize ReadOnlyArray<T>.ToList method for .NET 9

1.2.3

02 Apr 14:31
1690c46

Choose a tag to compare

What's Changed

This patch downgrades System.Collections.Immutable package for .NET 6.0 target to resolve NUGET warning NU1605

1.2.2

18 Mar 11:56
f0e0561

Choose a tag to compare

What's Changed

  • Optimize ArrayView.Create method for empty collection expression

1.2.1

18 Mar 02:28
eb620f6

Choose a tag to compare

What's Changed

  • Add List to ArrayView extension for NET9.0+

1.2.0

11 Jul 18:50
3839884

Choose a tag to compare

Add Trim overload methods to StringView class

1.1.1

10 Jul 23:02
986fbae

Choose a tag to compare

Fix an issue where some methods in ArrayView<T> incorrectly returned a mutable reference

  • Update the indexer to return ref readonly T instead of ref T.
  • Update the GetPinnableReference method to return ref readonly T.

1.1.0

09 Jul 18:46
3cad21e

Choose a tag to compare

Enhancements:

  • Added IsDefaultOrEmpty property to ReadOnlyArray<T> class.
  • Introduced Empty<T>() method to ReadOnlyArray class.
  • Implemented AsView extension methods for the ImmutableArray<T> class.