Article Preview
Buy Now
FEATURE
Optimizing Parsing Code
I feel the need. The need for speed.
Issue: 9.5 (July/August 2011)
Author: Brendan Murphy
Author Bio: Brendan is the founder of True North Software (
Article Description: No description available.
Article Length (in bytes): 11,552
Starting Page Number: 27
Article Number: 9506
Resource File(s):
9506.zip Updated: 2011-07-05 10:41:48
Related Web Link(s):
http://www.TrueNorthSoftware.com
Excerpt of article text...
A while back I implemented an optimization in my RTFParser for the Formatted Text Control which resulted in an overall measured speed increase of 33%! This optimization mainly applies to situations of parsing, but it can be applied to other scenarios if certain conditions are met.
Let's say you have a select statement in your code like the following.
select case token
case "alligator"
Do something specific...
...End of Excerpt. Please purchase the magazine to read the full article.