Quantcast
Channel: Why does a single threaded operationg takes 3 times longer than no threaded? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by that other guy for Why does a single threaded operationg takes 3...

This happens because your "no thread" (only main thread) version uses all compile time constants which are easier to optimize. If you make sure the compiler won't know ahead of time what the values...

View Article


Why does a single threaded operationg takes 3 times longer than no threaded?

I'm testing concurrency in Java, my objective is to determine if having multiple threads is actually beneficial, however, I'm getting results that don't add up. I'm trying to optimize a factorial...

View Article

Browsing all 2 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>