By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 997 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

Why do compile times change?

P: n/a
I've noticed that when I'm fine tuning a class, I seem to get a quick
compile time. Then, if I have to compile another class with a change, it
takes much longer to compile. The next time I compile the 2nd class, it
compiles quickly.

Does the compiler do anything like track changes in files or use previous
compile output while compiling a file a 2nd or third time?

If not, why is there a difference in compile times? It's long enough I
would think it's not just a disk-buffering issue.

Hal
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hal Vaughan wrote:
I've noticed that when I'm fine tuning a class, I seem to get a quick
compile time. Then, if I have to compile another class with a change, it
takes much longer to compile. The next time I compile the 2nd class, it
compiles quickly.

Does the compiler do anything like track changes in files or use previous
compile output while compiling a file a 2nd or third time?

If not, why is there a difference in compile times? It's long enough I
would think it's not just a disk-buffering issue.

Hal

You are very observant. :) Your OS (and probably your hard disk) are
doing the caching.
Jul 17 '05 #2

P: n/a
nos

"Jeff Schwab" <je******@comcast.net> wrote in message
news:yN********************@comcast.com...
Hal Vaughan wrote:
I've noticed that when I'm fine tuning a class, I seem to get a quick
compile time. Then, if I have to compile another class with a change, it takes much longer to compile. The next time I compile the 2nd class, it
compiles quickly.

Does the compiler do anything like track changes in files or use previous compile output while compiling a file a 2nd or third time?

If not, why is there a difference in compile times? It's long enough I
would think it's not just a disk-buffering issue.

Hal

You are very observant. :) Your OS (and probably your hard disk) are
doing the caching.


you can always check the time the class file was created
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.