I find Java* based IDEs like Netbeans far too slow and heavy for some reason. Eclipse is marginally better because it has a larger amount of native code. Visual Studio is faster still because that is pretty much all native (has very little .NET code in there).
However, slow compile times are likely due to the compiler rather than IDE. Visual Studio uses cl whereas netbeans uses g++ (Mingw port which is not entirely native to the OS). I find cl to be a little bit faster in compile times on Windows so Visual Studio might be the better choice again.
Then again, nvi and Makefiles is all I use these days anyway.
* I dont know if it is the fault of Java or if Netbeans is just too overly modular. It seemed to be just as slow when compiled with gcj (native java compiler). It gives me motion sickness just using it for a few mins ;)