Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CLR and VFP
Message
De
04/09/2000 17:53:02
 
 
À
04/09/2000 17:47:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00409695
Message ID:
00412316
Vues:
26
>>Wow, 7 times? What's your expressions that you're using? You've seen my numbers...
>
>7 times is a guess, I've been eyeballing it ;-)


I see about a 4 to 1 difference with your code (2.052, 8.218). The difference is that I was only doing one side of the equal sign for the macro, and you're doing the whole statement with the &.


>
>Acatually I ran this program, and differnet variations, where it create a different variable name every time (ok every 1023 times :-), and () always creams &.
>
>
clear
>release all
>
>?'Store: '
>nsec = seconds()
>for x = 1 to 1000000
>	store 'test' to ('t1')
>endfor
>?seconds() - nsec
>
>?'Macro: '
>nsec = seconds()
>for x = 1 to 1000000
>	lcCommand = 't2="test"'
>	&lcCommand
>endfor
>?seconds() - nsec
>
>?'Store: '
>nsec = seconds()
>for x = 1 to 1000000
>	store 'test' to ('t1')
>endfor
>?seconds() - nsec
>
>
>?'Macro: '
>nsec = seconds()
>for x = 1 to 1000000
>	lcCommand = 't2="test"'
>	&lcCommand
>endfor
>?seconds() - nsec
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform