Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Date from Character
Message
From
06/05/2003 12:37:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/05/2003 12:29:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00785368
Message ID:
00785456
Views:
21
"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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform