delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/14/06:19:09

Date: Sun, 14 Feb 1999 13:16:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "v. straka" <vstraka AT iol DOT cz>
cc: djgpp AT delorie DOT com
Subject: Re: memset() -- performance
In-Reply-To: <01be5780$3c16a520$7b7b7b7b@celeron>
Message-ID: <Pine.SUN.3.91.990214131549.15332J-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On 13 Feb 1999, v. straka wrote:

>       is any faster solution how fill memory with pattern than memset?
>       i do graphics programing and need any fast routines.
>       is the fastest moving than moving Double words eg. 32 bit ?
> 	is Memset 32 bit fill routine ?

memset uses 32-bit moves, yes.

If you need to fill video memory, use movedata instead.  It also uses
32-bit moves, but can copy across different segments.

- Raw text -


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