github daniel-rusu/pods4k v0.2.0
0.2.0

latest releases: v0.7.0, v0.6.0, v0.5.0...
14 months ago

Immutable Arrays

Breaking Changes:

  • Extension functions toImmutableIntArray, toImmutableFloatArray, etc. have been renamed
    to toImmutableArray so that the most efficient primitive variant is chosen by default.

New Features:

  • Add sortedByDescending method
  • Add sortedBy method
  • Add sortedDescending extension functions
  • Add sortedWith method
  • Add sorted extension functions
  • Add mapIndexedNotNull specializations
  • Add mapNotNull specializations
  • Add dynamic factory functions (eg. buildImmutableArray, buildImmutableBooleanArray etc.) for when the size
    isn't known in advance
  • Add builders for constructing immutable arrays when the size isn't known in advance
  • Add mapIndexed specializations
  • Add map specializations

Performance Improvements:

  • Optimized immutableArrayOf factory functions
  • Optimized the creation of immutable arrays from regular arrays

Don't miss a new pods4k release

NewReleases is sending notifications on new releases.