marcglasberg / fast_immutable_collections

Dart Package: Immutable lists, sets, maps, and multimaps, which are as fast as their native mutable counterparts. Extension methods and comparators for native Dart collections.
BSD 2-Clause "Simplified" License
213 stars 30 forks source link

feat: IList.empty() const factory #72

Closed LowLevelSubmarine closed 6 months ago

LowLevelSubmarine commented 6 months ago

I've read https://github.com/marcglasberg/fast_immutable_collections/issues/38 and decided to give the IList.empty() const factory a try. It seems to work. If this matches your vision for the package, i'd try to implement the same approach for the other collection types

marcglasberg commented 6 months ago

@LowLevelSubmarine Thank you!