Skip to content

Releases: JuliaFolds2/ChunkSplitters.jl

v3.1.0

25 Sep 18:11
Compare
Choose a tag to compare

ChunkSplitters v3.1.0

Diff since v3.0.0

  • Recover compatibility with Julia 1.6 to 1.9. On Julia 1.6 an allocation test fails. At 1.9 all tests pass.

Merged pull requests:

  • recover support for older Julia versions (#52) (@lmiq)

v3.0.0

25 Sep 11:43
Compare
Choose a tag to compare

ChunkSplitters v3.0.0

Diff since v2.6.0

This release is a major overhaul of the user interface.

Changes:

  • BREAKING The new lower compat bound for Julia is 1.10. This implies that support for the old LTS 1.6 has been dropped.
  • BREAKING The old main API function chunks is deprecated, and the new chunks function behaves differently.
  • BREAKING The new chunks has been introduced that returns an iterator that provides chunks of elements rather than chunks of indices of a given input collection. To avoid copies, it is based on view.
  • NEW FEATURE A new function index_chunks is introduced that returns the indices of the chunks.
  • BREAKING For performance reasons, the split keyword option now requires a Split instead of a Symbol. Concretely, :batch should be replaced by Consecutive() and :scatter should be replaced by RoundRobin().
  • BREAKING The keyword argument minchunksize has been renamed to minsize.
  • BREAKING getchunk isn't public API anymore (and has, internally, been renamed to getchunkindices). If you really need a replacement, consider using index_chunks(...)[i] instead.
  • BREAKING The old legacy API that relied on positional rather than keyword arguments has been dropped.

Merged pull requests:

Closed issues:

v2.6.0

18 Sep 16:00
Compare
Choose a tag to compare

ChunkSplitters v2.6.0

Diff since v2.5.0

New features:

  • add minchunksize option.
  • add BatchSplit and ScatterSplit types as (type-stable) default alternatives to symbols :batch and :scatter. Types are preferred and should be used to guarantee that the generation of the chunks do not allocate any intermediate.

Merged pull requests:

v2.5.0

18 Sep 09:26
Compare
Choose a tag to compare

ChunkSplitters v2.5.0

Diff since v2.4.5

  • Support eachindex(enumerate(chunks(...)))

Merged pull requests:

Closed issues:

  • Support eachindex for ChunkSplitters.Enumerate (#41)
  • Drop support for Julia 1.6 (#45)

v2.4.5

11 Jul 14:39
Compare
Choose a tag to compare

ChunkSplitters v2.4.5

Diff since v2.4.4

Merged pull requests:

v2.4.4

26 Jun 23:26
Compare
Choose a tag to compare

ChunkSplitters v2.4.4

Diff since v2.4.3

Merged pull requests:

  • Empty range instead of nothing when getchunk returns (#38) (@lmiq)

v2.4.3

17 Jun 17:56
Compare
Choose a tag to compare

ChunkSplitters v2.4.3

Diff since v2.4.2

  • Fix performance issue for using StepRange instead of UnitRange in :batch type of chunking (#35).

Merged pull requests:

Closed issues:

  • Performance of ChunkSplitters drops because it produces x:1:y instead of x:y (#35)

v2.4.2

02 Apr 00:07
Compare
Choose a tag to compare

ChunkSplitters v2.4.2

Diff since v2.4.1

  • return empty vector when the iterator is empty (solves issue #31).

v2.4.1

01 Apr 23:47
Compare
Choose a tag to compare

ChunkSplitters v2.4.1

Diff since v2.4.0

  • default values for n and size are set to nothing, avoiding a type instability in the definition of the Constraint type.

Merged pull requests:

v2.4.0

07 Mar 12:33
Compare
Choose a tag to compare

ChunkSplitters v2.4.0

Diff since v2.3.0

  • support for size > length(array) .

Merged pull requests: