Re: [CMake] [updated PATCH] major performance improvement for the C dependency scanner

Alexander Neundorf a.neundorf-work at gmx.net
Mon Dec 5 17:18:03 EST 2005


> Von: "Alexander Neundorf" <a.neundorf-work at gmx.net> 
.. 
> > Von: "Alexander Neundorf" <a.neundorf-work at gmx.net>  
> ...    
> > Please consider applying the patch.   
>   
> ...and here comes comes the patch  
>   
> Alex  
 
here comes a new version of the patch. This time it even generates the 
same dependencies as the unpatched cmake :-) 
I didn't measure the time yet, but I guess it's between the 2.5 and 3.8 
seconds. 
Any comments ? 
What about applying ? 
 
The format of the cache files is as follows: 
<any number of empty lines> 
<line containing the name of a parsed file> 
<UnscannedEntry.FileName> 
<UnscannedEntry.QuotedLocation or "-" is QoutedLocation is empty> 
...repeat the two lines above for each included file 
<again empty lines until the next parsed file> 
 
This simple format makes the cache files very easy to read. 
 
Bye 
Alex 
 

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmDependsC.even_faster_and_now_correct.patch
Type: text/x-diff
Size: 9188 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20051205/1b7a217b/cmDependsC.even_faster_and_now_correct-0001.bin


More information about the CMake mailing list