Ad-filter loading and QRegExp performance
Friedrich W. H. Kossebau
kossebau at kde.org
Thu Feb 1 15:18:30 CET 2007
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
More information about the Kde-optimize
mailing list