using SDL as graphics lib
category: code [glöplog]
It's implementation dependent... On some platform, the SDL implementation may use hardware blitting, special CPU instructions (ie. MMX, AltiVec) and whatnot, or it might painfully move each pixels through the CPU.
and as often, the top voted answer just sucks