Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CHRTRAN and remove characters
Message
From
12/10/2004 18:34:25
Walter Nicholls
Cornerstone Software Ltd
Auckland, New Zealand
 
 
To
12/10/2004 16:49:12
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00950654
Message ID:
00950886
Views:
13
A likely explanation for this is that CHRTRAN() is modifying the string in-place. If it encounters a 'missing' substitution character then it is probably closing up the gap with a bulk move of the remainder of the string left one byte. Starting with 6-million-odd bytes, in this case. By the time it gets the end of the string it will be running quite fast (only a few bytes left to move).

It could be made faster quite easily, by getting it to shift only one byte over at a time. The question is whether one of the fox developers is willing to potentially break things trying, this late in the development cycle.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform