Date: Mon, 5 Apr 1999 08:43:20 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Fredrik Ludvigsson cc: djgpp AT delorie DOT com Subject: Re: Fast mem copying. In-Reply-To: <37048C90.5D1C@linux.nu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.