delorie.com/archives/browse.cgi | search |
Date: | Wed, 10 Mar 1999 10:47:17 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Michael Stewart <mike AT reggin DOT freeserve DOT co DOT uk> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: HELP!! need fast initialisation-function for virtual-buffer! |
In-Reply-To: | <7c3p0u$fll$1@news5.svr.pol.co.uk> |
Message-ID: | <Pine.SUN.3.91.990310104654.10442I-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 Tue, 9 Mar 1999, Michael Stewart wrote: > >I use memset(buffer, 0, 640*480) but it's quite slow. > > This will be the fastest method > memset (buffer, 0, 307200); I think both will run with the same speed, since GCC computes the result of 640*480 at compile time.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |