>>>>> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes:

Juergen> On 12-Dec-2001 Lars Gullik Bjønnes wrote:

>> Found a LyXText that fits: Buffer: 0x84d0aa0 Width: 667 TextCache:
>> resizeCurrentBuffer Buffer: 0x84d06b8 Width: 667

Juergen> Why does it a resize if the sizes are the same??? A resize
Juergen> has to recalculate ALL of the insettext! Are you sure we do a
Juergen> resize REALLY or are we just outputting the text?

I did some profiling (I did a lot of document switches to give it a
higher weight than the initial loading phase) and a lot of time is
spent in Buffer::resizeInsets. I notice too that this method is called
unconditionally in BufferView::Pimpl::resizeCurrentBuffer. And then I
ran out of competence, and stopped here.

Does it make sense.

JMarc

Reply via email to