Skip to content

3.1.0

Compare
Choose a tag to compare
@leebyron leebyron released this 12 Nov 18:50
· 1072 commits to main since this release

New:

  • Performance enhancement to Maps and Sets with 8 or fewer entries.
  • OrderedSet introduced.
  • Map and Set can now be sorted, returning an OrderedMap or OrderedSet, respectively.
  • Improved sortBy, maxBy and minBy performance

Fixed:

  • Map#set or Set#add now return themselves for a no-op involving a hash collision.
  • Accessing an Indexed Iterable (such as List) with strings are now coerced to number when possible, mirroring the behavior of native Array.
  • List, Stack and Set constructors documentation now matches behavior.
  • Records now ignore unknown keys provided to constructors.
  • OrderedMap no longer leaks memory when keys are removed.