D pointers

Dirk Mueller mueller at kde.org
Thu Sep 29 10:01:18 BST 2005


On Thursday 29 September 2005 10:06, Zack Rusin wrote:

> the other way around. Lars can tell you more about his futile attempts
> of optimizing this class (making it use lazy-parsing). Everything is
> inlined so we couldn't do anything. 

So the issue wasn't the missing d pointer. Yes, the d pointer would have 
enforced to not write inline accessors, but other than that, inlined 
accessors are still faster than non-inlined ones. 

> QUrl does create a Private and is 
> probably around 10x faster

For different reasons. For example it doesn't do all those strange url 
reencodings KURL does. 


-- 
Dirk//\




More information about the kde-core-devel mailing list