KDevVarLengthArray: memmove / memcopy?

Aleix Pol aleixpol at kde.org
Fri Jun 24 00:23:16 UTC 2011


On Thu, Jun 23, 2011 at 8:42 PM, Milian Wolff <mail at milianw.de> wrote:

> 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
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
>
Well, it's a good candidate. probably it wouldn't be very hard to create a
small test and compare both.

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110624/109d5536/attachment.html>


More information about the KDevelop-devel mailing list