All µC/LIB memory functions have been C-optimized for improved run-time performance, independent of processor or compiler optimizations. This is accomplished by performing memory operations on CPU-aligned word boundaries whenever possible.
In addition, some µC/LIB memory functions have been assembly-optimized for certain processors/compilers. When defined, these optimizations can be found in the appropriate port directories for each specific processor/compiler combination. See for an example port directory: