We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19510c1 + 6a26b3b commit 8c7bbcbCopy full SHA for 8c7bbcb
1 file changed
python-book/src/ch01-introduction-and-motivation.md
@@ -265,7 +265,7 @@ fn cpu_work(n: u64) -> u64 {
265
fn main() {
266
let start = std::time::Instant::now();
267
let handles: Vec<_> = (0..4)
268
- .map(|_| thread::spawn(|| cpu_work(10_000_000)))
+ .map(|_| thread::spawn(|| cpu_work(3_000_000)))
269
.collect();
270
271
let results: Vec<u64> = handles.into_iter()
0 commit comments