Skip to content

Releases: marstr/collection

v2.0.0-preview1

20 Dec 19:24
Compare
Choose a tag to compare
v2.0.0-preview1 Pre-release
Pre-release

Adopts generics and uses context.Context instead of channels for cancellation.

v1.1.1

16 Sep 17:22
ada9bdf
Compare
Choose a tag to compare
  • Fixing a bug that prevented LRUCache.Put operations from replacing previous values.

v1.1.0

16 Sep 07:44
22cb427
Compare
Choose a tag to compare
  • Adding a Least Recently Used Cache implmentation (LRU Cache)
  • Fixing LinkedList.RemoveBack to execute in O(1) time instead of O(n).

v1.0.0

23 Oct 00:11
Compare
Choose a tag to compare

First stable release of this package!

Since v0.3, support for Dictionary has been added, which is a Trie holding strings.

Adding Directory type

03 Oct 23:48
Compare
Choose a tag to compare
Adding Directory type Pre-release
Pre-release

Creating a new type Directory which models a filesystem path to a directory as a collection of children, files and directories.

Adding `Singlep`

27 Sep 01:33
Compare
Choose a tag to compare
Adding `Singlep` Pre-release
Pre-release

Adding a predicated version of the previous collection.Single function. It is sugar for successively calling collection.Where(Predicate) then collection.Single

Adding Enumerable Reverse

11 Aug 18:14
Compare
Choose a tag to compare
Pre-release

Adding a reusable Reverse method

Adding Cancellation Requirement

28 Jul 17:48
Compare
Choose a tag to compare
Pre-release

Adding a cancellation channel as a requirement of the Enumerable contract. This must be done to avoid goroutine/memory leaks stemming from abandoned Enumerators.

Bug Fix

21 Jun 17:11
Compare
Choose a tag to compare
Bug Fix Pre-release
Pre-release

Fixing an issue where List enumerators were never closed, causing thread deadlock.

v0.2.0

16 May 21:46
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Adding methods to make it easier to work with the re-useable Enumerable type instead of forcing folks to do it themselves by calling myEnumerable.Enumerate() all the time. Also Adding ParallelSelect and SelectMany.