↧
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 ArticleWhy 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