home *** CD-ROM | disk | FTP | other *** search
- Path: sn.no!not-for-mail
- From: ilan@sn.no (Ilan Sharoni)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Which would be faster?
- Date: 4 Jan 1996 05:11:16 +0100
- Organization: SN Internett
- Message-ID: <4cfk14$5eh@sinsen.sn.no>
- References: <dave.0mtr@eclipsnzmanawatu.gen.nz>
- NNTP-Posting-Host: sinsen.sn.no
- X-Newsreader: THOR 2.0 (SOUP) *UNREGISTERED*
-
- On 02-Jan-96 18:03:32, Dave Dustin (dave@eclipsnz.manawatu.gen.nz) Wrote:
- >I was just wondering, which of these two methods would be fastest:
-
- >1> Closing a window, then opening a new one with a different size/position
-
- >2> Resizing a window to a new size/position, then clearing the
- > contents, currently using EraseRect(), of the window ready for
- > putting new data into window.
-
-
- >--
- >Dave
-
-
- The best way to find out is to try.
- The Amiga has 3 timers, and if you use SAS/C, you can alse run your test
- through the profiler.
- Make a loop of 100 times for each case, and see yourself.
- If you want, I have somewere here a code I wrote comparing 2 loops.
-