[Lazarus] [patch] lhelp scrolling slowness - I might have found it
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Mon Dec 26 00:12:54 CET 2011
Bernd schrieb:
> If I understand it correctly then after the HTML is parsed then there
> exists a tree of TIpHtmlNode objects and each node holds a reference
> to the appropriate TCSSProps object, it should not be needed to look
> them up more than once for each node upon construction of this node
> unless for some reason the entire html tree is is destroyed and built
> up from scratch again and I don't see why this should be necessary on
> every scroll event.
ACK, a direct reference to the CSS object should be stored.
> The next step should be to find out what exactly
> is going on during a scroll event that causes this to happen every
> time.
The font size can affect the height of the HTML items, which is required
during scrolling.
DoDi
More information about the Lazarus
mailing list