Skip to content

Releases: keep94/sqrt

v0.4.0

05 Apr 14:18

Choose a tag to compare

New Features

Potentially long running tasks take a Context object

  • PrimeToStart(ctx) in the Sequence interface performs all necessary calculations up front to ensure that the Sequence can be iterated over without initial lag.
  • PrimeToEnd(ctx) in the FiniteSequence interface performs all necessary calculations up front to ensure that the FiniteSequence can be iterated over in reverse without initial lag.

v0.3.2

02 Apr 00:51

Choose a tag to compare

Simplification of Internal Data Structures

  • The Sequence and Number interfaces are now implemented with structs that don't contain nested interfaces.

v0.3.1

27 Mar 00:25

Choose a tag to compare

Refactorings

  • Make code a bit shorter and simpler by getting rid of the internal numberSpec interface.

v0.3.0

27 Feb 03:46

Choose a tag to compare

New Features

  • Number instances that factory methods like sqrt.Sqrt return no longer have a goroutine that can leak.

Breaking Changes

  • The Context type is gone as special lifecycle management of Number instances is no longer necessary.

v0.2.1

25 Feb 03:37

Choose a tag to compare

  • Prevent Number instances from holding a reference to their Context after their goroutine ends.

v0.2.0

24 Feb 02:08

Choose a tag to compare

New Features

  • Introduce Context type to manage lifecycle of Number instances.

v0.1.3

14 Feb 15:26

Choose a tag to compare

  • Depend on itertools@v0.8.0.

v0.1.2

14 Nov 12:38

Choose a tag to compare

  • Depend on itertools@v0.7.2

v0.1.1

12 Sep 10:17

Choose a tag to compare

Documentation

  • Update sample code in Number documentation.

v0.1.0

10 Sep 13:01

Choose a tag to compare

Initial release.