Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: MortenMacFly on February 21, 2006, 09:03:33 am

Title: Scanning 2-7 Mio files?!
Post by: MortenMacFly on February 21, 2006, 09:03:33 am
Dear all,
not really important, but it makes me wonder:
Working on a project I discovered some output in C::B's debug log like this:
[08:36:30.395]: Scanned 75986108 files for #includes, cache used 2290384, cache updated 2288344
[08:36:30.745]: Scanned 27933228 files for #includes, cache used 2290384, cache updated 2288344
[08:36:30.876]: Scanned 47034996 files for #includes, cache used 2290384, cache updated 2288344
[08:36:30.976]: Scanned 27960556 files for #includes, cache used 2290384, cache updated 2288344
...and so on.
Now I wonder: Does that really mean that so many files are scanned for includes?! My project consists of about 150 files, and includes maybe about 20 "default" C/C++ header files. How is this output to be interpreted?!
Morten.
Title: Re: Scanning 2-7 Mio files?!
Post by: thomas on February 21, 2006, 11:37:09 am
Obviously not. :lol:

7 million files would take about 19.5 hours to be accessed (not counting the actual time to parse them).
Title: Re: Scanning 2-7 Mio files?!
Post by: MortenMacFly on February 21, 2006, 12:15:57 pm
Obviously not. :lol:
Ok, because otherwise this would have been really, really impressive. Especially because after posting I realised that it's 20-70 millions files... :lol:
Morten.