Add small cache for author names to reduce memory foot-print
authorJonas Fonseca <fonseca@diku.dk>
Tue, 17 Feb 2009 00:51:26 +0000 (01:51 +0100)
committerJonas Fonseca <fonseca@diku.dk>
Tue, 17 Feb 2009 11:55:19 +0000 (12:55 +0100)
commit2063b4e98bfe7b10ea10c287c973ab19d8bc09fe
treeb1d0b7de6b64be21e3555f59c61fd480e2df53d5
parent5ba81063e64cbc0bbb62e086e0818318fba952f2
Add small cache for author names to reduce memory foot-print

Numbers from an old linux kernel repository with 2740 unique authors
shows that it takes a little longer time to start up but the gain is
quite good. Furthermore, it lifts the name length restriction.

18191 fonseca   20   0 19712  17m  872 S    3  0.8   0:01.34 tig
18180 fonseca   20   0 23224  20m  868 S    0  1.0   0:01.26 tig-0.14.1
tig.c