F
fr33host
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;
}
}
Thank you for your answers.
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;
}
}
Thank you for your answers.