##// END OF EJS Templates
rbc: fix superfluous rebuilding from scratch - don't abuse self._rbcnamescount...
rbc: fix superfluous rebuilding from scratch - don't abuse self._rbcnamescount The code used self._rbcnamescount as if it was the length of self._names ... but actually it is just the number of good entries on disk. This caused the cache to be populated inefficiently. In some cases very inefficiently. Instead of checking the length before lookup, just try a lookup in self._names - that is also in most cases faster. Comments and debug messages are tweaked to help understanding the issue and the fix.
Mads Kiilerich -
r29615:a2a380e2 stable
Show More
Name Size Modified Last Commit Author
/ tests / svn
branches.svndump Loading ...
empty.svndump Loading ...
encoding.svndump Loading ...
move.svndump Loading ...
replace.svndump Loading ...
startrev.svndump Loading ...
svndump-branches.sh Loading ...
svndump-empty.sh Loading ...
svndump-encoding.sh Loading ...
svndump-move.sh Loading ...
svndump-replace.sh Loading ...
svndump-startrev.sh Loading ...
svndump-tags.sh Loading ...
tags.svndump Loading ...