formatting pass.

This commit is contained in:
NunoSempere 2024-01-12 23:55:09 +01:00
parent dd6bb53f1b
commit eb1c592610

View File

@ -72,9 +72,9 @@ void sampler_parallel(double (*sampler)(uint64_t* seed), double* results, int n_
// In principle, these results[j] could also result in two threads competing for the same cache line.
// In practice, though,
// a) this would happen infrequently
// b)
// b) trying to unroll loops actually makes the code slower
// c) 8 results[j] are 8 doubles, which fit a cache line. If n_samples/n_threads
}
}
}
for (int j = divisor_multiple; j < n_samples; j++) {