On 07/26/2016 07:43 AM, Kornel Benko wrote: > Am Dienstag, 26. Juli 2016 um 13:20:15, schrieb Jean-Marc Lasgouttes > <lasgout...@lyx.org> >> Le 26/07/2016 à 12:13, emile lunardon a écrit : >>> I have a very big document (~100 Mo Pdf mainly of text with ~ 15000 >>> pages) which was originally written with LyX 2.1 . >>> It takes more than *one hour* to open it with LyX2.2.0/2.2.1 and only a >>> few minutes with LyX 2.1.5. >>> Once open it is possible to work as usual on the document but the amount >>> of time necessary to open it preclude any operational use of LyX >>> 2.2.0/2.2.1 >> Can you share this document (at least privately)? It happens sometimes >> that we add quadratic behavior that is only made visible when a document >> is _really_ large. >> >> JMarc > It is also possible that the second time the load is faster. > (For instance because the needed latex packages are now uptodate)
I would guess the reason it takes so long is because of the lyx2lyx conversion. As a rule, we iterate through the entire document for every single format change, often searching for regex matches as we do so. Richard