Posted 21 years ago
by Marianne

Most of the language samples provided break down the Keywords into three groups via startswith: A-H I-R S-Z, for example.
Are you recommending that all languages break down larger keyword groups into three distinct entries? Are there performance issues if all keywords are in a single PatternGroup? If so, what about putting all keywords in their own group A-A, B-B? Would that signficantly enhance performance? I'm sure at some point there's a break even point on the SyntaxEditor creating and working with each different group vs. isolating groups of keywords. Just trying to get a sense what the break even point is.
Are you recommending that all languages break down larger keyword groups into three distinct entries? Are there performance issues if all keywords are in a single PatternGroup? If so, what about putting all keywords in their own group A-A, B-B? Would that signficantly enhance performance? I'm sure at some point there's a break even point on the SyntaxEditor creating and working with each different group vs. isolating groups of keywords. Just trying to get a sense what the break even point is.
------------------------------- Marianne