git-current-contributors icon indicating copy to clipboard operation
git-current-contributors copied to clipboard

Implement a cache strategy

Open moacirosa opened this issue 10 years ago • 1 comments

Considering that performance is a clear issue (mainly for large repositories) it would be interesting cache some already calculated metrics. I believe that write the calculated metrics in a file named the same as hash commit being processed would be good enough. This file could be hosted within .git for example.

moacirosa avatar Oct 24 '15 04:10 moacirosa

https://docs.python.org/2/library/pickle.html

moacirosa avatar Oct 26 '15 04:10 moacirosa