Re: Time to compile
François Pinard <[email protected]> Mon, 21 Nov 2005 14:23:26 -0500
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
[Bram Moolenar] >Derek Teaney wrote: >> I have a list of about 40 files and it takes quite some time (12 s)=20 >> to decide what to do compile. Would 400 files then take 2 minutes? > A-A-P computes a checksum to find out if the file contents has=20 > changed. If your processor is slow this may take a while. I have=20 > worked with Aap and very many files without big delays. It does=20 > depend on the speed of your machine, of course. Only checking=20 > timestamps will be faster, but less accurate. And after doing "touch=20 > file" a file may seem outdated, causing a lot of work to be done even=20 > when its contents didn't actually change. That's wasting time then. Just an idea. Could checksums be computed only if timestamps differ (regardless of ordering of timestamps)? Size might also be=20 checked for a bit more safety, when timestamps are identical. That=20 might speed up things for big projects, without adverse effects in=20 practice. --=20 Fran=E7ois Pinard http://pinard.progiciels-bpi.ca ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click