From 7de87756bbd7c6568d2160206ff7615a5f48e205 Mon Sep 17 00:00:00 2001 From: Frank Bryden Date: Wed, 13 Nov 2024 16:17:11 +0100 Subject: [PATCH] Increase pool stacks to 32 --- regex-automata/src/util/pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex-automata/src/util/pool.rs b/regex-automata/src/util/pool.rs index d90d4ecff..f162a7fb1 100644 --- a/regex-automata/src/util/pool.rs +++ b/regex-automata/src/util/pool.rs @@ -328,7 +328,7 @@ mod inner { /// /// See this issue for more context and discussion: /// https://github.com/rust-lang/regex/issues/934 - const MAX_POOL_STACKS: usize = 8; + const MAX_POOL_STACKS: usize = 32; thread_local!( /// A thread local used to assign an ID to a thread.