Skip to content

Releases: marstr/collection

v2.0.0

03 Jul 07:25
2019a12

Choose a tag to compare

No changes from the longstanding preview release.

v2.0.0-preview1

20 Dec 19:24

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

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

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

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

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

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

Choose a tag to compare

Pre-release

Adding a reusable Reverse method

Adding Cancellation Requirement

28 Jul 17:48

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

Choose a tag to compare

Bug Fix Pre-release
Pre-release

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