3 ms·
It depends if the strings are aligned or not, the size of the copy, and also on the generation of processor. There are some good answers here: http://stackove
by rwmj 10y ago
It depends if the strings are aligned or not, the size of the copy, and also on the generation of processor. There are some good answers here:
http://stackoverflow.com/a/9177369 http://stackoverflow.com/a/9177369
https://stackoverflow.com/questions/12359228/reliable-information-about-x86-string-instruction-performance https://stackoverflow.com/questions/12359228/reliable-inform...
https://stackoverflow.com/questions/8425022/performance-of-x86-rep-instructions-on-modern-pipelined-superscalar-processors https://stackoverflow.com/questions/8425022/performance-of-x...