| www.delorie.com/archives/browse.cgi | search |
| Date: | Mon, 5 Apr 1999 08:43:20 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Fredrik Ludvigsson <mind_wipe AT linux DOT nu> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Fast mem copying. |
| In-Reply-To: | <37048C90.5D1C@linux.nu> |
| Message-ID: | <Pine.SUN.3.91.990405084209.26011B-100000@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On Fri, 2 Apr 1999, Fredrik Ludvigsson wrote: > I was wondering which the fastest way to copy one buffer to another in > djgpp is. Like 'rep movsd' in assembler. Use `memcpy' library function, it already does that. If the size of the copied buffer is a compile-time constant, GCC will even inline it.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |