[ccache] PATCH: reduce stat() calls on multilevel caches

Joel Rosdahl joel at rosdahl.net
Thu Oct 7 14:11:54 MDT 2010


On 2010-10-05 22:29, Joel Rosdahl wrote:
> On 2010-10-04 23:08, Wilson Snyder wrote:
>> There are still extra calls (the #s); it would be best if
>> the code assumed directories existed and just tried to read
>> the manifest or .o.  Then the directory created only if a
>> new file is added.  But, that does more violence then I'm
>> willing to undertake at the moment.  Improvements to do that
>> are welcome.
> 
> I agree that would be nice.

I made a shot at this. Please try it out!

-- Joel


More information about the ccache mailing list