Mail Archives: djgpp/1996/12/21/16:41:34
Daniel Everton (evos AT m140 DOT aone DOT net DOT au) wrote:
: 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
At least I'm not aware of any such function that could be suggested. As
far as I know, memcpy() Ix86 implementation is far from what it could
be(at least on Pentium/PPro CPUs). The only solution that I can see is
to wait for better 'official' implementation or write the routine in
assembly yourself(which of course means that you _really_ have to know
what you are doing if you want to make it fast).
--
Hannu Koivisto | What you see is all you get.
Prime jee | - Brian Kernighan
-----------------------------------------------------------------
- Raw text -