Efficiency of memmove vs. generic typed copy

Ian Lance Taylor ian@airs.com
Sun Dec 11 03:49:00 GMT 2005


Gabriel Dos Reis <gdr@integrable-solutions.net> writes:

> So, I'm wondering if GCC has machinery that 
> detects the alignment property of memcpy() arguments (in the source
> code) so that faster paths are used to move data.

Yes, it does.

Ian



More information about the Libstdc++ mailing list