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

List:       kde-commits
Subject:    kdelibs/khtml/html
From:       Koos Vriezen <koos.vriezen () xs4all ! nl>
Date:       2004-10-29 12:39:26
Message-ID: 20041029123926.8E84A16BCA () office ! kde ! org
[Download RAW message or body]

CVS commit by vriezen: 

Update comment about collection iterating


  M +3 -2      html_miscimpl.h   1.29


--- kdelibs/khtml/html/html_miscimpl.h  #1.28:1.29
@@ -76,6 +76,7 @@ public:
     virtual ~HTMLCollectionImpl();
     unsigned long length() const;
-    // This method is o(n), so you should't use it to iterate over all items. Use \
firstItem/nextItem instead. +    // Only when iterating forward, it will use caching, \
ie. making it O(1).  NodeImpl *item ( unsigned long index ) const;
+    // obsolete and not domtree changes save, virtual too.
     virtual NodeImpl *firstItem() const;
     virtual NodeImpl *nextItem() const;


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

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