Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about REPLACE command
Message
From
09/04/2002 15:10:57
 
 
To
09/04/2002 14:43:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00642783
Message ID:
00642847
Views:
14
Well, yes and no...

Firstly, because of VFPs cacheing, there may be no perceptible difference.
Secondly, when actually using buffering (row or table), there likely will be no perceptible difference.

It is true, though, that dBaseIII+ was certainly much faster when doing a single replace rather than 3 (in the case shown).

I'm betting no perceptible difference, in which case 3 separate replaces or a single replace using 4 (not 3) lines to do it both provide the same ease of code maintenance.


>It would be fairly simple to create a test program for this.
>
>
>>Thank you Craig,
>>
>>You confirm what I was thinking... My boss didn't believe me and I have no proof to give. For me it seems to be an evidence !
>>
>>
>>Thanks again
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform