AnandTech review of Safari

Allan Sandfeld Jensen kde at carewolf.com
Tue Oct 12 14:10:44 BST 2004


On Tuesday 12 October 2004 12:44, Kevin Krammer wrote:
> On Sunday 10 October 2004 01:45, Shift wrote:
> > Konqueror is perhaps very slow because the Rellinks plugins is installed
> > ? If you want to understand read my comment of 2004-10-08 in
> > http://shift.freezope.org/konq_rellinks/ Sorry again for the bug :)
>
> To be fair you couldn't have known that NodeList::length() was not O(1) as
> usually with lists, there is not the faintest hint in its API docs.
>
Yes, part of the bug is in NodeList. A class shouldn't have a method called 
length() unless it can calculate it _fast_. In this case the method would 
have been better named countLength().

`Allan




More information about the kfm-devel mailing list