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

List:       kde-commits
Subject:    kdebase/libkonq
From:       David Faure <faure () kde ! org>
Date:       2002-12-16 13:01:51
[Download RAW message or body]

CVS commit by faure: 

cachegrind shows a possible improvement here (but I don't know enough
this code to make the change in a way that still loads existing files etc.)


  M +3 -1      konq_historycomm.cc   1.3


--- kdebase/libkonq/konq_historycomm.cc  #1.2:1.3
@@ -2,6 +2,8 @@
 
 // QDataStream operators (read and write a KonqHistoryEntry
-// from/into a QDataStream
+// from/into a QDataStream)
 QDataStream& operator<< (QDataStream& s, const KonqHistoryEntry& e) {
+    // TODO (BIC) stream the KURL, not just its .url(). Takes a bit more space,
+    // but prevents much reparsing when loading.
     s << e.url.url();
     s << e.typedURL;


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

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