We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b601f5d commit 74d42ddCopy full SHA for 74d42dd
src/cfg.rs
@@ -128,7 +128,8 @@ impl Config for DefaultConfig {
128
#[cfg(target_pointer_width = "64")]
129
const MAX_THREADS: usize = 4096;
130
#[cfg(target_pointer_width = "32")]
131
- const MAX_THREADS: usize = 0x7F; // TODO(eliza):
+ // TODO(eliza): can we find enough bits to give 32-bit platforms more threads?
132
+ const MAX_THREADS: usize = 128;
133
134
const MAX_PAGES: usize = WIDTH / 2;
135
}
0 commit comments