Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/parallel. Pull mirroring updated .
  1. May 30, 2025
    • David Feuer's avatar
      Chunk better (#45) · be2398bc
      David Feuer authored
      
      `parListChunk` previously split a list up into chunks, applied
      the given strategy to each chunk, and then put them all together
      again. This led to two extra copies of the list.
      
      We get very little benefit from actually splitting the list, because the
      parallel computations need to traverse their part anyway; we can instead just
      hand off the whole list and let them count out their chunk.  We count each
      chunk twice, but that shouldn't cost enough to matter.
      
      Now that `Eval` has a `MonadFix` instance, we can avoid actually having
      to put together lists at the end; instead, we pass each parallel
      computation the (as-yet-uncomputed) result of calculating the rest
      of the list.
      
      ---------
      
      Co-authored-by: default avatarkonsumlamm <44230978+konsumlamm@users.noreply.github.com>
      be2398bc
  2. May 10, 2025
  3. May 03, 2025
  4. Apr 28, 2025
  5. Mar 30, 2025
  6. Nov 08, 2024
  7. Apr 04, 2024
  8. Jan 21, 2024
  9. Sep 28, 2023
  10. Jun 08, 2023
  11. Mar 12, 2023
  12. Jun 27, 2022
  13. May 11, 2022
  14. Mar 15, 2022
  15. Nov 08, 2021
  16. Oct 30, 2021
  17. Apr 06, 2020
  18. Oct 01, 2019
  19. Jul 22, 2019
  20. Jul 19, 2019
  21. Mar 12, 2019
  22. Feb 11, 2019
  23. Dec 10, 2018
  24. Nov 06, 2018
  25. Oct 17, 2018
  26. Jul 13, 2018
  27. Jul 02, 2018
  28. Jul 01, 2018
  29. Jun 25, 2018
  30. Jun 24, 2018
Loading