[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Text Selection Speed
From:       Dirk Mueller <mueller () kde ! org>
Date:       2002-06-14 9:03:55
[Download RAW message or body]

On Don, 13 Jun 2002, Matt Newell wrote:

> understanding to improve the horribly slow text selection algorithm.  I am 
> starting to get a pretty decent understanding of how it works, but I still am 
> not sure where all of the cpu cycles are going.  I just thought that you guys 
> could give me a few pointers on what functions need optimizing, or how to 
> profile khtml to find out for myself.

There is no index about onscreen position -> rendertree object. 

Partially the text selection code simply scans through the tree for finding 
the starting and end position, which is really slow. That part needs 
rewriting, but up to now nobody volunteered. 


Dirk
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic