Skip to main content

Crate hopr_parallelize

Crate hopr_parallelize 

Source
Expand description

Parallelization utilities for CPU-heavy blocking workloads.

This crate provides async-friendly wrappers around Rayon’s thread pool for offloading CPU-intensive operations (EC multiplication, ECDSA signing, MAC verification) from async executor threads.

For background on async executors and blocking, see Async: What is blocking?.

See the cpu module for the primary API.

Modules§

cpu
Module for thread pool-based parallelization of CPU-heavy blocking workloads.