On Fri, Jul 29, 2016 at 04:43:46PM +0100, Guillaume Munch wrote: > Le 27/07/2016 à 23:01, Scott Kostyshak a écrit : > > > > I imagine it is there for performance reasons? > > A thousand lines in the file and a thousand entries in the map would be just > as fine, probably ten thousands as well.
Good to know. > > LastFilePosSection::read() is called for every recent file when opening > > LyX. I was hoping it was only called when actually opening a file. > > > > I made the test and read() was called once at the start of the session. > I would have been worried otherwise, since there is no point in parsing > the file repeatedly. Ah yes I had sloppily put my debug code in the try loop. The correct statement is that the locations for all files are read on startup, and that makes sense. Scott
signature.asc
Description: PGP signature