I have to compile java code frequently, especially stuff like GWT which take ages to complete. I cannot avoid that overhead but I want to minimized it down with better hardware. Which factor will make these kind of compilation as fast as possible? (I know it's a little subjective, but when come to compilation, I'm sure that some factor are more important than the others).
For example, I think a Dual Core that run at 3.6 GHz/Core may be faster than a Quad Core that run at 2.8 Ghz/Core when It come to compilation (especially when java code / GWT code compilation is currently single threaded).
So, what kind of factor that I should consider when purchase hardware with regards to this specific problem?
Edit:
I find it quite general when talking about these compilation without refer to my specific situation. I'm dealing with GWT & Scala compilation, which is damn slower, although I don't observe a high load over my hard disk during compilation.
Should I make it faster with CPU of 4+ cores of 2.4Ghz or CPU of 2 cores of 3.4Ghz? Will dual 2GB of DDR3 RAM make it faster or a dual 4GB DDR2 make it faster? Will RAID 0 make a big difference?