www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/21/16:41:34

From: k152608 AT cc DOT tut DOT fi (Koivisto Hannu)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: memcpy(); is there something faster?
Date: 21 Dec 1996 20:53:19 GMT
Organization: Uhmu-Munnukka Ruinupunuma-Kuhvo
Lines: 17
Message-ID: <59hinv$pie@cc.tut.fi>
References: <59g08k$758_001 AT cpe DOT Maroochydore DOT aone DOT net DOT au>
NNTP-Posting-Host: proffa.cc.tut.fi
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019