> Dekel> However, the real problem lies on parsing .lyx files at > Dekel> Buffer::readLyXformat2 which is done using if-else statements > Dekel> (... else if (token == "\\emph") ... ) This is very > Dekel> inefficient! > > Yes, this code should use LyxLex correctly. Actually, this is not a real problem at all. The bottleneck at load time is the rendering of the figures and of the document, not the parsing of the LyX document. You can assert this for yourself by loading the user guide. As soon as the program says "Formatting" or "Loading font", the raw loading part is over. You have to be fast to see it, though. So: There is no reason to change this. So much else to do. Greets, Asger
- Re: GUI independence and XTL Jean-Marc Lasgouttes
- Re: GUI independence and XTL Dekel Tsur
- Re: GUI independence and XTL Lars Gullik Bjønnes
- Re: GUI independence and XTL Jean-Marc Lasgouttes
- Re: GUI independence and XTL Lars Gullik Bjønnes
- The code in layout.C Dekel Tsur
- Re: The code in layout.C Jules Bean
- Re: The code in layout.C Lars Gullik Bjønnes
- Re: GUI independence and XTL Dekel Tsur
- Re: GUI independence and XTL Jean-Marc Lasgouttes
- Re: GUI independence and XTL Asger K. Alstrup Nielsen
- Re: GUI independence and XTL Dekel Tsur
- Re: GUI independence and XTL Asger K. Alstrup Nielsen
- Re: GUI independence and XTL Lars Gullik Bjønnes
- Re: GUI independence and XTL Lars Gullik Bjønnes
- Re: GUI independence and XTL Dekel Tsur
- Re: GUI independence and XTL Allan Rae