Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create Date from Character
Message
De
06/05/2003 12:37:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
06/05/2003 12:29:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00785368
Message ID:
00785456
Vues:
22
"The shorter the code within the EVAL()-uated expression, the faster the result."

>Can someone clarify this for me please? I'm having trouble following, but I'm interested...
>
>>Hi Sergey
>>
>>It is 90% faster on my PENTIUM 4 2.2Ghz Notebook
>>
>>The problem is EVAL().
>>
>>VFP is not compiled, and it ( i think ) not uses P-code, but uses an
>>
>>Token-Code. EVAL need parsing phase for build tokens.
>>
>>In fact, compare:
>>
>>=NOT EVAL('.T.')
>>
>>with
>>
>>=EVAL('NOT .T.')
>>
>>The first is 35% faster the second
>>
>>The rule it is obvious :
>>
>>put more court possible strings on EVAL & and EXECSCRIPT
>>
>>Fabio
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform