rust-lang/regex

Make MAX_POOL_STACKS a runtime configurable parameter

fbryden opened this issue · 0 comments

Describe your feature request

POOL_STACKS significantly reduce access time to the pool in a threaded environment. Unfortunately, the hard-coded value of 8 means the performance boost for systems with <= 8 cores drops off for values >8.

Ideally, we'd like to tune the number of pool stacks using runtime knowledge.