Archive 17/01/2023.

What is the difference between a Vector and a PODVector

SeeSoftware

Looking at the documentation i dont really see an obvious difference.
Is there a performance difference between those 2?

jmiller

Yes. From https://urho3d.github.io/documentation/HEAD/_containers.html
"PODVector is only to be used when the elements of the vector need no construction or destruction and can be moved with a block memory copy."

PODVector (“Plain Old Data” vector) is more performant than Vector and is unsafe for self-insertion.
There may be other notes in the class APIs or mentions on the forum.

Uses of PODVector in the repo

HTH

SeeSoftware

thanks for the help!