On 12/16/10 9:11 PM, Pavel Sanda wrote:

unless there are some objections i will commit it. once in we'll see whether
the new behaviour does not irritate the second half of people which has no
performance problems...

I have another patch in the works that may help here. How much, I am not sure. But one thing that is clear to me is that we are doing way too much data collection for the TOC. E.g., if you look at InsetBranch::addToToc(), you will see that we are adding a string representation of the entire inset to the TOC. Calculating this can be slow, and I have started to wonder whether having all this information in there might be causing some kind of problem. There are similar problems with footnotes, and all other text insets, basically.

I fixed a similar problem with tooltips a while ago, but this version is more complicated, due to the recursive nature of the calculation.

Richard

Reply via email to