Mail Archives: djgpp/1996/11/12/01:57:13
On Mon, 11 Nov 1996, J. Erickson wrote:
> memcpy function and it too is seemingly pretty fast. But I am hoping to
> get some advice on learning how to write a putpixel routine that is
> faster than the nearptr hacks and how to write a blitting routine that
> doesn't rely on memcpy but is as fast or faster. I'm a little familiar
> with the AT&T assembly code format but I haven't really written
If you turn on the optimizations (-O2 or -O3 switch to gcc), `memcpy'
should be expanded into inline assembly which is about as fast as you can
get anyway.
- Raw text -