<div class="gmail_quote">On Thu, Jun 23, 2011 at 8:42 PM, Milian Wolff <span dir="ltr"><<a href="mailto:mail@milianw.de">mail@milianw.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hey all,<br>
<br>
while working on the "split Token into two" for the Cpp parser, I looked at<br>
kdevvarlengtharray on how to insert an item in a c-style array. What I noticed<br>
is that it is just a loop, not something more sophisticated like<br>
memmove/memcopy or the like.<br>
<br>
So my question: Would memmove/memcopy (which one should be used?) be more<br>
efficient?<br>
<br>
Bye<br>
<font color="#888888">--<br>
Milian Wolff<br>
<a href="mailto:mail@milianw.de">mail@milianw.de</a><br>
<a href="http://milianw.de" target="_blank">http://milianw.de</a><br>
</font><br>--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
<br></blockquote></div><br><div>Well, it's a good candidate. probably it wouldn't be very hard to create a small test and compare both.</div><div><br></div><div>Aleix</div>