quanteda / quanteda.textstats

Textual statistics for quanteda
GNU General Public License v3.0
14 stars 2 forks source link

Switch from RcppParallel::parallelFor() to tbb::parallel_for() #66

Closed koheiw closed 8 months ago

koheiw commented 10 months ago

In the current, we are using RcppParallel::parallelFor() but tbb::parallel_for() should be used in the same way as in quanteda. For example,

https://github.com/quanteda/quanteda/blob/bdec360949182dcabb2822ce52b1b5bf727e5538/src/tokens_lookup.cpp#L176-L183