Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP code syntax coloring in HTML
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00355687
Message ID:
00361298
Vues:
37
My results on a Dell 200mHz 64MB Ram, VFP 6 SP 3. Difference too small to matter?
Straight Code: 23.785
As Variable  : 23.416
As Define    : 23.608

>#DEFINE AS_DEFINE CHR(13)+CHR(13)
>cAsVar = CHR(13)+CHR(13)
>
>lnstart = SECONDS()
>? 'Test with straight code'
>FOR N = 1 TO 100000
>	x = CHR(13)+CHR(13)
>ENDFOR
>lnstop = SECONDS()
>? lnstop - lnstart
>
>lnstart = SECONDS()
>? 'Test as a var'
>FOR N = 1 TO 100000
>	x = cAsVar
>ENDFOR
>lnstop = SECONDS()
>? lnstop - lnstart
>
>lnstart = SECONDS()
>? 'Test as define'
>FOR N = 1 TO 100000
>	x = AS_DEFINE
>ENDFOR
>lnstop = SECONDS()
>? lnstop - lnstart
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform