Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" To: Daniel Everton , djgpp AT delorie DOT com Date: Mon, 23 Dec 1996 15:47:33 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: memcpy(); is there something faster? Hi Daniel: > > 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. > Depends on the CPU, for 486 memcpy is very very fast (copies double words even if the data isn't aligned), may be in a Pentium simple instructions (not rep movXX) can be executed faster, but if the speed of memcpy isn't enough for you think about buying a faster machine. SET --------------- 0 -------------------------------- Salvador Eduardo Tropea (SET). Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013