2 ms·
I've heard this advice before, and the problem with this advice is that people who just use memcpy in practice often write code with bugs in it. So the advice i
by klodolph 4y ago
I've heard this advice before, and the problem with this advice is that people who just use memcpy in practice often write code with bugs in it. So the advice is bad advice. Good advice will result in code that has fewer bugs, or bugs with lower severity.
- kevin_thibedeau 4y agoIt can also lead to accidentally quadratic behavior which is why the modernized string ops that get so much hate these days rely on one iteration over the input.