Skip to content

Releases: pivovarit/parallel-collectors

2.3.1

22 Feb 12:35
Compare
Choose a tag to compare

What’s Changed

Authors

@pivovarit

2.3.0

09 Feb 18:29
Compare
Choose a tag to compare

What’s Changed

Authors

@dependabot-preview, @dependabot-preview[bot] and @pivovarit

2.2.0

19 Jan 12:26
Compare
Choose a tag to compare

What’s Changed

Authors

@pivovarit

2.1.0

11 Dec 10:05
Compare
Choose a tag to compare

Introduced a new subset of drop-in replacement collectors ParallelCollectors.Batching.

These implement a different task-splitting strategy where operations are performed in batches and not separately (one object in a thread pool's worker queue represents a batch of operations to be performed by a single thread):

ParallelCollectors.Batching:

  • parallel(...)
  • parallelToStream(...)
  • parallelToOrderedStream(...)

2.0.0

20 Nov 09:20
Compare
Choose a tag to compare

Redesigned and simplified the public-facing API to enable reuse of java.util.stream.Collector instances for providing custom reduction strategies which enabled reduction of the public API from 13 methods to just 4:

  • CompletableFuture<List<T>> parallel(Function, Collector, Executor, parallelism)

  • CompletableFuture<Stream<T>> parallel(Function, Executor, parallelism)

  • Stream<T> parallelToStream(Function, Executor, parallelism)

  • Stream<T> parallelToOrderedStream(Function, Executor, parallelism)

1.2.1

17 Nov 17:21
Compare
Choose a tag to compare
  • adjusted visibility modifiers of some API methods

1.2.0

16 Nov 11:24
Compare
Choose a tag to compare
  • added new parallel methods that are interoperable with java.util.stream.Collectors
  • simplified internal implementations
  • deprecated parallelTo(List/Set/Map/Collection) methods in favor of the above one

1.1.0

24 Jun 13:53
Compare
Choose a tag to compare
  • introduce interruptions of tasks when an exception gets thrown
  • deprecate parallelMap and parallelMapOrdered and replace them with parallel and parallelOrdered

1.0.3

09 Jun 09:24
Compare
Choose a tag to compare
  • Reimplemented CompletionOrderSpliterator with throughput in mind

1.0.2

03 Jun 06:54
Compare
Choose a tag to compare
  • fixed improperly configured CompletionStreamSpliterator