Skip to content

Releases: tirimatangi/Lazy

MergeSort

29 Dec 15:59
aa6a41c
Compare
Choose a tag to compare
  • Add example-mergesort.cc for fast parallel sorting.
  • Improve explanation of the manual mode in chapter 3.

Thread pool

01 Mar 18:04
233ee8e
Compare
Choose a tag to compare

Thread pool added (section 2.2 in README.md)

Clang compatibility added.

05 May 19:10
d305a3e
Compare
Choose a tag to compare

Lazy can now be compiled with both gcc and clang.

Improve Lazy::Sequence

03 May 20:22
2f05c77
Compare
Choose a tag to compare

Lazy::Sequence now works with std::ranges::views if you use C++20 compiler.
Example:

    constexpr int N = 10;
    auto even = [](auto i) { return 0 == i % 2; };
    auto square = [](auto i) { return i * i; };
    auto lseq = Lazy::Sequence{N};

    for (auto i : lseq | std::views::filter(even) | std::views::transform(square)) {
        std::cout << i << ' ';
    }
   std::cout << "\n";

Output: 0 4 16 36 64

CMake integration

29 Dec 16:36
6f026f0
Compare
Choose a tag to compare

CMake integration by FriendlyAnon.

Optimize parallel running of void functions and add Lazy::Sequence range container

10 Nov 20:53
29e532a
Compare
Choose a tag to compare

Vector in, vector out - mode is now faster if the return type of the function is void. Dummy return type is not needed anymore.
Also Lazy::Sequence range container has been added.
See README.md and example 2.6 in example-2.cc for further details.

Array output improvements

05 Nov 20:16
947874c
Compare
Choose a tag to compare

The issue where the output type of Lazy::runForAll(...) was sometimes std::vector when it should be std:array has been fixed.

First release

04 Nov 15:31
a80dd64
Compare
Choose a tag to compare

Includes the functionality of the three use cases described in README.md.