Mail Archives: djgpp/1996/12/25/17:37:15
On Sat, 21 Dec 96 06:31:48 GMT, evos AT m140 DOT aone DOT net DOT au (Daniel Everton)
wrote:
>Hi all,
>
>In a program I'm currently writing I need to copy some biggish (64k)
>shunks of memory around. I'm using memcpy() at the moment but it's not
>quite fast enough. Is there some other function that any one can
>suggest? The memory has all been allocated with malloc() and I'm not
>copying between conventional memory or something like that. Any help
>appreciated.
Check out last month's issue of the C/C++ Users Group magazine.
It contained a memcpy() replacement for the pentium that is 15% faster
than any of the current compilers. Also says that you will be able to
get move 30% faster than memcpy when MMX and Cyrix M2's come out.
But for 486's, and such you just have to optimize! ;-)
Murray Stokely ( murray AT southeast DOT net )
http://www.cdrom.com/pub/artpacks
- Raw text -