Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vlib: add an arrays.parallel module, containing parallel.run/3 and parallel.amap/3 implementations #22090

Merged
merged 12 commits into from
Aug 24, 2024

Commits on Aug 24, 2024

  1. feat(parallel): run functions on an array in parallel

    Prashanth.Hegde authored and spytheman committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    4894c4d View commit details
    Browse the repository at this point in the history
  2. feat(parallel): run functions on an array in parallel

    Prashanth.Hegde authored and spytheman committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    b0ae099 View commit details
    Browse the repository at this point in the history
  3. feat(parallel): run functions on an array in parallel

    Prashanth.Hegde authored and spytheman committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    1e8641a View commit details
    Browse the repository at this point in the history
  4. Update vlib/arrays/parallel_test.v

    Co-authored-by: Delyan Angelov <delian66@gmail.com>
    prashanth-hegde and spytheman committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    4f9ea13 View commit details
    Browse the repository at this point in the history
  5. fix(arrays): moving the run and amap implementation to arrays.parallel

    Per the code comments, moving the run and amap implementation to
    arrays.parallel
    Ensuring ordering in amap() implementation
    Enhancing tests to not be module specific per code comments
    Prashanth.Hegde authored and spytheman committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    747551a View commit details
    Browse the repository at this point in the history
  6. fix(arrays): moving the run and amap implementation to arrays.parallel

    Per the code comments, moving the run and amap implementation to
    arrays.parallel
    Ensuring ordering in amap() implementation
    Enhancing tests to not be module specific per code comments
    Prashanth.Hegde authored and spytheman committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    0dff6e5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a5794b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7937ce0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    be24c3a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d22917c View commit details
    Browse the repository at this point in the history
  11. remove dependence on math just for math.max, and on runtime (responsi…

    …bility of the caller). Fix races (<< is not thread safe) on macos, cleanup and comment more
    spytheman committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    642469e View commit details
    Browse the repository at this point in the history
  12. make the API more ergonomic for the common use case, by using an opti…

    …onal workers parameter
    spytheman committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    94d0006 View commit details
    Browse the repository at this point in the history