KDevVarLengthArray: memmove / memcopy?

Milian Wolff mail at milianw.de
Thu Jun 23 18:42:20 UTC 2011


Hey all,

while working on the "split Token into two" for the Cpp parser, I looked at 
kdevvarlengtharray on how to insert an item in a c-style array. What I noticed 
is that it is just a loop, not something more sophisticated like 
memmove/memcopy or the like.

So my question: Would memmove/memcopy (which one should be used?) be more 
efficient?

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110623/6b60d2ae/attachment.sig>


More information about the KDevelop-devel mailing list