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

List:       kde-optimize
Subject:    Re: Ad-filter loading and QRegExp performance
From:       "Friedrich W. H. Kossebau" <kossebau () kde ! org>
Date:       2007-02-01 14:18:30
Message-ID: 200702011518.31364.kossebau () kde ! org
[Download RAW message or body]

Am Donnerstag, 1. Februar 2007 14:46, schrieb Thiago Macieira:
> Note that QVector stores the elements themselves in the vector. Every time
> it grows, it must copy the elements to the new array.

Why doesn't it do just a simple memcpy? Because some elements may have 
subelements which store the address of the mainelement? And offering an 
option for this would have been too complex, I guess?

Friedrich
_______________________________________________
Kde-optimize mailing list
Kde-optimize@kde.org
https://mail.kde.org/mailman/listinfo/kde-optimize
[prev in list] [next in list] [prev in thread] [next in thread] 

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