TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: PETER DALTON
from: DAVID WILLIAMS
date: 1998-04-27 09:41:00
subject: using RND

-> fair enough but I think that your program wastes time in shuffling
-> six numbers to the head of the queue when there's other ways to
-> achieve the goal.
SWAP is a very fast operation. I agree that, if you want to use the
program to make only one 6/49 selection, then your method *may* be
faster than mine (especially if you rely on the DIM to fill the array
with zeroes). However, if you want to make a whole lot of selections,
mine would certainly be faster.
-> what's this compulsion with speed? If everyone thought along those
-> lines then no-one would have bought Win95...
I didn't!
                             dow
--- PCBoard (R) v15.3 (OS/2) 5
---------------
* Origin: FidoNet: CAP/CANADA Support BBS : 416 287-0234 (1:250/710)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.