Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Open-Quant/openquant
/ default_threads
Function
default_threads
crates/openquant/src/hpc_parallel.rs:455–457 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
453
}
454
455
fn default_threads() -> usize {
456
thread::available_parallelism().map_or(1, |n| n.get().max(1))
457
}
Callers
1
default
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected