Juergen Spitzmueller wrote:
> What it does is:
> - store the timestamp of any bibfile in the buffer
> - in insetcite, store the timestamp of the files at the time when the
> bibliographies were scanned for the last time
> - now only scan the files again if the timestamp of a file has changed or
> if a file is new.

Actually this description is not accurate. It rather does the following:
- store a list of all bibtex files (including path) in the buffer. That list 
is only updated if necessary (if a file is added or removed).
- insetcite (getNatbibLabel) fetches that list and compares its stored 
timestamps with the actual ones.
- if they differ (or if the list contains a new file), the bibfiles get 
scanned again.

The caching of the bibfiles in the buffer is necessary, because it is very 
expensive to look for these files on any label generation process (as it is 
now).

Jürgen

Reply via email to