Bioconductor / BiocParallel

Bioconductor facilities for parallel evaluation
https://bioconductor.org/packages/BiocParallel
67 stars 29 forks source link

[Bioc 3.15, patch 1] Implementing L1-L3 layers for bplapply #162

Closed Jiefei-Wang closed 3 years ago

Jiefei-Wang commented 3 years ago

Hi, I follow the roadmap in https://github.com/Bioconductor/BiocParallel/issues/161 and implement L1-L3 layers for bplapply. Here is a list of important changes

  1. bploop.lapply has a new argument BPREDO
  2. The function .bploop_lapply_iter is revised such that there is no need to split X in advance, the argument X for FUN will be generated on demand.
  3. .redo_index will return the index of X instead of a logical vector.

The changes are mostly internal so there should be no visible change to the end-user.

Best, Jiefei

Jiefei-Wang commented 3 years ago

This pull request has been moved to https://github.com/Bioconductor/BiocParallel/pull/163