4 ms·
That's not true. If you look at the comparisons, the cpu time taken by C is actually more than rust, and the cpu load looks about even. Note the C version uses:
by infogulch 10y ago
That's not true. If you look at the comparisons, the cpu time taken by C is actually more than rust, and the cpu load looks about even. Note the C version uses:
#pragma omp parallel sections
- gens 10y ago>.. and the cpu load looks about even. 318% is 20% bigger then 265%.
- infogulch 10y agoAnd 5.30s is about 20% faster than 6.46s. We're just throwing around numbers now. My point was that the cpu load is "about even" compared to if the C version was single-threaded, in which case it would look more like 200-300% bigger cpu load instead of merely 20%.
- gigatexal 10y agoAhh dang I didn't know you could do compiler run parallelism.
- deleted 10y ago[deleted]