4 ms·
Native applications do layout and engines such as Qt are single threaded.
by frozenport 13y ago
Native applications do layout and engines such as Qt are single threaded.
- vidarh 13y agoWhy is that a reason to remain single-threaded? Especially when most new hardware is multi-core.
- frozenport 13y agoConsider the parallel addition task, it takes N*log(N) instead of single threaded addition which takes N. Which is more energy efficient? If takes 10x the power to do layout in 20ms vs 30ms is it still a good deal?
- pcwalton 13y ago10x is a silly exaggeration. As for your general point, you'd be surprised: often consuming more power per second is much better for power efficiency than consuming less power if that power consumption lets you complete the task faster. That is because the wins of getting back to the CPU's low-power idle state quicker dominate everything else. It is almost always better to use the power available to you.