On 12/05/2009 06:16 PM, Ben M. wrote:
2009/12/5 Richard Heck:
On 12/05/2009 05:47 PM, Vincent van Ravesteijn wrote:
We've updated the layout format from 11 (branch) to 19 now (trunk). Each
time when LyX reads a layout file, it converts it to format 19. This is
shown as the creation of all those temporary files in your logfiles.
Maybe that's the cause of the slowdown we experience.
I guess we must make sure that all layouts are at format 19 whenever the
next major release is set.
Yes, we usually do this, and it's fairly trivial to run a script to update
them now. Perhaps I'll do that over the weekend.
Wow Richard, that was quick! My load time is now 12 seconds. (See
attached file.)
Like I said. Pretty simple script:
for i in *; do
cp $i $i.old;
python ../scripts/layout2layout.py <$i.old >$i;
done
I'll commit a better version to trunk.
rh