pierreroudier / opusreader

Reading OPUS binary files in R
GNU General Public License v3.0
4 stars 5 forks source link

Parallel reading of files #8

Open pierreroudier opened 3 years ago

pierreroudier commented 3 years ago

Implement reading of files in parallel chunks (most universally via future; e.g. future.apply::future_lapply()). If there are 100s or 1000s of files, the process of reading could for example be distributed over multiple cores to speed up the process. Key points (let's discuss):

philipp-baumann commented 3 years ago

In addition to my list above, we might also think about implementing a progress bar for the futurized version, i.e. using {progressr}

pierreroudier commented 3 years ago

FWIW the current progress bar implementation (pbapply::pblapply) does support parallel processing. But we could equally switch to progressr + future_lapply.