3 ms·
But you can't optimize large software that has to be maintained. Even if you could (because you have unlimited resources), you won't be getting a 50% improvemen
by pron 14y ago
But you can't optimize large software that has to be maintained. Even if you could (because you have unlimited resources), you won't be getting a 50% improvement because you'll be spending a lot of the time on IO and task switching anyway.
And just to make sure: whatever improvement you get will be very costly. We're talking manual control of memory fences, NUMA memory allocation and placement, lock biasing and more. All stuff the JVM does a very good with little effort for the Java programmer.