| delorie.com/archives/browse.cgi | search |
| Message-ID: | <33C98EA7.1A09@wanadoo.fr> |
| Date: | Mon, 14 Jul 1997 04:27:51 +0200 |
| From: | Alan Poppleton <Alan DOT Poppleton AT wanadoo DOT fr> |
| Organization: | Home |
| MIME-Version: | 1.0 |
| To: | DJGPP <djgpp AT delorie DOT com> |
| Subject: | mem copies |
I have allocated two memory blocks with the malloc function. What is
the fastest method of copying from one to the other? Would assembler
help? If so what is the code? I am currently using memcpy to copy but I
need to be as fast as possible. Also is there are faster method of
setting a chunk of memory to a certain value than the memset function.
Thanx for any help
Tony
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |