[ccache] Using git file hashes for ccache

2010-12-29 Thread Michel Lespinasse
Hi, It is my understanding that in the ccache hit case, a significant fraction of the running time is spent computing hashes of the original source files. git is also frequently used for development, makes use of file hashes, and is extremely fast. When doing operations such as git diff, in the c

Re: [ccache] Using git file hashes for ccache

2010-12-29 Thread Justin Lebar
> It is my understanding that in the ccache hit case, a significant > fraction of the running time is spent computing hashes of the original > source files. Yes, ccache spends most of its time hashing when it gets a direct mode cache hit, at least according to my measurements. I wrote a patch a l