On Thu, Oct 16, 2003 at 04:31:29PM +0200, Andre' Poenitz wrote: > Currently most time (currently compiling with -pg to get hard numbers) > is spend in accessing the row's y cache. If this is changed to a > per-paragraph y cache and a row-y offset in that paragraph we should see > a speed up in the order of rows/paragraph. That's 5 or so for a typical > document.
Ok. When loading the UserGuide this change alone reduces LyXText::getRowNearY share from 31.6 to 3.4 percent. So this is a speedup of 10 for this function translating to more than 20% total speed gain. Andre'