4 ms·
Linus seems to consider rep mov still too slow for small copies: https://www.realworldtech.com/forum/?threadid=196054&curpostid=196611 https://www.realworldtec
by josefx 5y ago
Linus seems to consider rep mov still too slow for small copies:
https://www.realworldtech.com/forum/?threadid=196054&curpostid=196611 https://www.realworldtech.com/forum/?threadid=196054&curpost...
https://www.realworldtech.com/forum/?threadid=196054&curpostid=196616 https://www.realworldtech.com/forum/?threadid=196054&curpost...
It seems to me that rep move is so bad that you want to avoid it, but trying to write a fast generic memcpy results in so much bloat to handle edge cases that rep move remains competitive in the generic case.