Text Selection Speed

Koos Vriezen koos.vriezen at xs4all.nl
Sat Jun 22 15:21:33 BST 2002


On Sat, 22 Jun 2002, Koos Vriezen wrote:
> It also adds 'cachedInnerNode' to DocumentImpl.
> 'DocumentImpl::prepareMouseEvent' first looks if the mouse is still in
> this object, before rescanning the rendering tree. This saves a lot of CPU
> cycles when moving the mouse above khtml part.
> There is no reference counting in Render*, so I'm not 100% sure this
> cached node is always valid.

Please ignore the memory leak. There should be a
'delete d->cachedInnerNode;' before 'd->cachedInnerNode = 0L;' on all
places.

Koos






More information about the kfm-devel mailing list