Re: Ad-filter loading and QRegExp performance

"Friedrich W. H. Kossebau" <[email protected]> Thu, 1 Feb 2007 15:18:30 +0100
Newsgroups gmane.comp.kde.devel.optimize
Organization K Desktop Environment
Message-ID <[email protected]>
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