immutable

Immutable collections for Go

MIT License

Stars
713
Committers
9
immutable - v0.4.3 Latest Release

Published by benbjohnson over 1 year ago

What's Changed

Full Changelog: https://github.com/benbjohnson/immutable/compare/v0.4.2...v0.4.3

immutable - v0.4.2

Published by benbjohnson almost 2 years ago

What's Changed

Full Changelog: https://github.com/benbjohnson/immutable/compare/v0.4.1...v0.4.2

immutable - v0.4.1

Published by benbjohnson almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/benbjohnson/immutable/compare/v0.4.0...v0.4.1

immutable - v0.4.0

Published by benbjohnson about 2 years ago

This release changes the API to use Go generics. Thanks to @laher for the pull request for that!

immutable - Refactor builders

Published by benbjohnson almost 4 years ago

There was a bug in previous versions where changes to builders would leak if they used existing collections. The API has been changed so that builders can only be used with new collections and are marked as invalid after fetching the underlying collection.

immutable - Built-in hashers & comparers

Published by benbjohnson about 4 years ago

This release adds built-in Hasher & Comparer types for all int & uint types (e.g. int, int8, int16, etc) as well as stringand[]byte`.

It also includes reflection-based hasher & comparers for int, uint, and string types that have been aliased . For example, reflection based hashers will be used for a type declared like this:

type ID int

Thanks to @adrianboyko for the reflection-based hashers! 🎉

immutable - Efficient Builders

Published by benbjohnson over 5 years ago

The primary improvement in v0.2.0 is the addition of the ListBuilder, MapBuilder, and SortedMapBuilder. These allow multiple mutations to occur on a List, Map, and SortedMap, respectively, while minimizing allocations. Overall performance can improve by more than 10x depending on how many operations are combined. YMMV.

This release also includes some minor docs changes.

immutable -

Published by benbjohnson over 5 years ago

  • Fix SortedMapIterator initialization bug.
  • Documentation improvements.
immutable - Initial release

Published by benbjohnson over 5 years ago

Package Rankings
Top 1.48% on Proxy.golang.org
Badges
Extracted from project README
release