##// 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.

File last commit:

r28809:7a1ad08b default
r29615:a2a380e2 stable
Show More
test-gendoc-pt_BR.t
4 lines | 87 B | text/troff | Tads3Lexer
#require docutils gettext
$ $TESTDIR/check-gendoc pt_BR
checking for parse errors