bminixhofer / nlprule

A fast, low-resource Natural Language Processing and Text Correction library written in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make rayon optional

bminixhofer opened this issue · comments

rayon is not necessary and should be behind a feature flag (like in e.g. ndarray). Resolving this issue in rayon-cond would make it trivial: cuviper/rayon-cond#3

If this change does not get accepted in rayon-cond I believe the best solution is forking it, adding a rayon feature flag and also moving the abstraction currently in src/utils/parallelism.rs to the fork.