Friday, January 2, 2009

Compile Time

Compilation of source code often takes up a pretty large chunk of time, especially on larger projects. If you've ever tried compiling the Linux kernel, you know what I mean.

If you find yourself having to do a lot of these, you should try using the IDE to run in debug mode and use the Immediate window to sneak a couple of extra lines that aren't in the source code. You can also just type away when the Edit-and-Run feature is available.

If your project takes an unreasonable amount of time compiling, you probably need to divide your project into more manageable chunks. Move out some of the code into class libraries, separate stuff that shouldn't belong together. Then again, you might want to buy a couple of hardware upgrades or a new rig entirely.
Image from TechRepublic's WebComic

No comments: