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