Skip to content

Releases: Joy-less/ValueCollections

v6.3

Choose a tag to compare

@Joy-less Joy-less released this 28 Apr 01:55
  • Changed value collections to only clear buffer elements when elements are reference types, for improved performance (see #3). Avoid using value collections with rented buffers for sensitive operations such as storing passwords, as they may be returned to the array pool.

v6.2

Choose a tag to compare

@Joy-less Joy-less released this 26 Apr 00:57
  • Fixed rented buffer elements not being cleared before returning to the array pool, potentially leading to memory leaks for elements that are reference types

v6.1

Choose a tag to compare

@Joy-less Joy-less released this 23 Apr 13:21
  • Optimized ValueStack.ToArray
  • Added missing MethodImpl(AggressiveInlining) attributes
  • Fixed outdated supported fixed-size capacities in README
  • Fixed some tests for ValueList128 not testing correct type

v6.0

Choose a tag to compare

@Joy-less Joy-less released this 23 Apr 01:32
  • Moved fixed-size collections into separate package (breaking change)
  • Removed constructors in fixed-size collections that rely on non-fixed-size collections (breaking change)
  • Removed fixed-size collections with sizes of 1, 2, 3, 4, 512 to save space & reduce bloat (keeping 8, 16, 32, 64, 128, 256) (breaking change)
  • Renamed ValueSetExtensions to ValueHashSetExtensions (breaking change)
  • Added ValueStack<T>
  • Fixed Last()/LastOrDefault() for all collections
  • Updated test packages

v5.6

Choose a tag to compare

@Joy-less Joy-less released this 06 Feb 14:55
  • Fixed rare off-by-one errors when removing elements (by @Aniobodo)
  • Fixed TrimExcess often not fully trimming excess
  • Upgraded tests from xUnit v2 to xUnit v3

v5.5

Choose a tag to compare

@Joy-less Joy-less released this 07 Dec 01:17
  • Fixed First & Last when collection is empty (affects all collections)
  • Optimized First & FirstOrDefault & Last & LastOrDefault & Any for collections
  • Optimized ValueHashSet.SetEquals
  • Updated benchmark packages
  • Updated README.md

v5.4

Choose a tag to compare

@Joy-less Joy-less released this 14 Nov 16:36
  • Added .NET 10 target
  • Fixed documentation comments for fixed-size value lists
  • Updated test & benchmark packages

v5.3

Choose a tag to compare

@Joy-less Joy-less released this 12 Jun 13:48
  • Fixed documentation comment for fixed-size ValueList constructors

v5.2

Choose a tag to compare

@Joy-less Joy-less released this 29 May 20:42
  • Fixed binary searches for entries in ValueDictionary and ValueHashSet with the same hash code

v5.1

Choose a tag to compare

@Joy-less Joy-less released this 22 May 17:51
  • Improved constructors (minor breaking change)
  • Added some missing AggressiveInlining attributes