near-vm: Make rayon unconditional and remove into_par_iter_if_rayon
#8948
Labels
A-contract-runtime
Area: contract compilation and execution, virtual machines, etc
C-housekeeping
Category: Refactoring, cleanups, code quality
T-contract-runtime
Team: issues relevant to the contract runtime team
Describe the bug
Making use of rayon optional is causing us to take suboptimal implementation decisions that hurt both rayon and non-rayon use-cases (such as collecting twice, first into a vector, then into
PrimaryMap
.)If making use of rayon unconditional (if you need to limit worker threads, setup the thread pool accordingly) makes way for simplifying those areas of code, we should just go ahead with it.
The text was updated successfully, but these errors were encountered: