Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.3, 4.7.0
-
None
-
44b7877c879faabe83310df697d1ec2f013ee8b5
Description
QVector: When copying a QVector then it will cause the memory to be reallocated soon after and can run out of memory earlier than it should. Whereas with std::vector this is not the case.
In the example attached the USE_VECTOR define can be used to see the difference when compared from QVector to std::vector