KDevVarLengthArray: memmove / memcopy?

Nicolás Alvarez nicolas.alvarez at gmail.com
Fri Jun 24 20:18:45 UTC 2011


On 6/24/11, David Nolden <david.nolden.kdevelop at art-master.de> wrote:
> Regarding memmove:
> KDevVarLenghtArray is usually used for short arrays, and if the array
> contains only 3 items, then the function-call to memmove would be a
> significant overhead.

Functions like memmove and memcpy are usually handled specially by the
compiler, introducing inline hand-optimized instructions at the call
point, and not causing a real function call at all.

-- 
Nicolas




More information about the KDevelop-devel mailing list