fast_immutable_collections 11.0.0 copy "fast_immutable_collections: ^11.0.0" to clipboard
fast_immutable_collections: ^11.0.0 copied to clipboard

Immutable lists, sets, maps, and multimaps, which are as fast as their native mutable counterparts. Extension methods and comparators for native Dart collections.

11.0.0 #

10.2.4 #

  • Optimized IMap.update().

10.2.3 #

  • Improved IList.zip() generic typing.

10.2.2 #

10.1.2 #

10.1.1 #

10.1.0 #

10.0.0 #

  • Removed tuples in favor of records.

9.2.1 #

  • @useResult annotation to signal that a method should return a copy of the collection, instead of mutating it.

9.1.6 #

  • Small docs improvement.

9.1.5 #

  • Fixed type erasure in IMap.toJson and build issue for benchmark app.

9.1.4 #

  • Removed unnecessary map creation when deserializing IMap from Json.
  • Bumped environment to '>=2.14.0 <3.0.0'

9.1.1 #

  • Function compareObject now also compares enums by their name.

9.0.0 #

  • Version bump of dependencies: collection: ^1.17.0, meta: ^1.8.0

8.2.0 #

  • IList.replaceBy method lets you define a function to transform an item at a specific index location.

8.1.1 #

  • IList.indexOf extension fix (doesn't break anymore when list is empty and start is zero).

8.1.0 #

  • Iterable.intersectsWith extension.

8.0.0 #

  • Breaking change: IList.replaceFirstWhere signature is now IList<T> replaceFirstWhere(bool Function(T item) test, T Function(T? item) replacement, {bool addIfNotFound = false}) instead of IList<T> replaceFirstWhere(bool Function(T item) test, T to, {bool addIfNotFound = false}) In case this change breaks your code, the fix is simple. Instead of something like ilist.replaceFirstWhere((String item) => item=="1", "2") do this: ilist.replaceFirstWhere((String item) => item=="1", (_) => "2")

1.0.0 #

  • Initial version: 2021/01/12
357
likes
150
points
72k
downloads

Publisher

verified publisherglasberg.dev

Weekly Downloads

Immutable lists, sets, maps, and multimaps, which are as fast as their native mutable counterparts. Extension methods and comparators for native Dart collections.

Repository (GitHub)
View/report issues

Topics

#collections #immutable #data-structures #functional

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

collection, meta

More

Packages that depend on fast_immutable_collections