TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: JAMSHID KHOSHRANGI
date: 1995-10-06 08:10:00
subject: Optimization Hint #993

'This code speaks for itself, if raw speed is your concern.
'
'Jamshid
DEFINT A-Z
CLS
MTIMER
FOR x = 1 TO 1000
    FOR i = 1 TO 4
        SELECT CASE i
            CASE 1
            CASE 2
            CASE 3
            CASE 4
        END SELECT
    NEXT
NEXT i
PRINT MTIMER
MTIMER
FOR x = 1 TO 1000
    FOR i = 1 TO 4
        ON i GOSUB 1, 2, 3, 4
    NEXT
NEXT i
PRINT MTIMER
END
1:
RETURN
2:
RETURN
3:
RETURN
4:
RETURN
 * OLX 2.1 TD * Death Penalty in Utah: Convicts forced to program in QB
--- Maximus/2 2.01wb
---------------
* Origin: Sound Stage BBS - Live Via Satellite - (604)944-6476 (1:153/7070)

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™.