2 ms·
> So the mathematically-correct answer would be a minus while "in my opinion" would be a plus? My opinion was only that it would be relatively easy to figure o
by gjsman-1000 2y ago
> So the mathematically-correct answer would be a minus while "in my opinion" would be a plus?
My opinion was only that it would be relatively easy to figure out. As far as I know, it is a certainty that sectioning a bubble sort, more or less than CPU cores, is less efficient. 16 threads on an 8 core CPU just means balancing 2 threads on every CPU core, each doing their own sorting and needing eventual merging back together. There's no way that can be more efficient.
- anonymoushn 2y agoIf you have hyperthreading then a low IPC workload like this is optimally done on twice the number of cores.