-
May 23rd, 2012, 07:54 AM
#16
Re: Quick Array Copy
Again this is a limitation of .net. The Common Language Runtime is similar to java's virtual machine and just in time compiled languages create programs that execute faster than interpreted languages, but still lag behind unmanaged C and C++ generally.
ahoodin
To keep the plot moving, that's why.

-
November 26th, 2012, 12:37 AM
#17
Re: Quick Array Copy
> Dear developers,
> I have a question. Is there a faster array copy than a for loop. What
> would you suggest for this code sample?
>
> void get(char* src, char* dest, int i) {
> for (int j = 0; j < recordLen; j++, i++) {
> dest[j] = src[i];
> }
> }
>
> Thank you for int main()
-
November 26th, 2012, 03:51 AM
#18
Re: Quick Array Copy
Victor Nijegorodov
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|