|
|
|
|
|
by maccard
1616 days ago
|
|
I used to work for Epic, and I did a good chunk of work on the game projects build times with reasonable success. Unfortunately I couldn't really change too much inside the engine because of backwards compatibility. Removing headers from other public interface headers has the possibility of breaking users code, which is a no-no so their hands are pretty tied. There are definitely some big wins to be had if they're willing to break back compat though! |
|
a) #include <vector> -- Lots of dependencies, but I know it works and I don't want to reinvent the wheel
b) #include <my_vector.h> -- Ok, I'm going to reinvent the wheel, but at least my wheel might have slightly fewer dependencies.
c) //#include <vector> // I'll just do without the wheel entirely