[antlr-interest] ANTLR performance

Gavin Lambert antlr at mirality.co.nz
Fri Jan 16 14:56:25 PST 2009


At 08:33 17/01/2009, Jim Idle wrote:
>Right - so your one function dealing with strings is 12% of the 
>time (ignoring the tree stuff for the moment), rather than strcmp 
>you should use memcmp, but it would be faster to use a TRIE.

What have you got against strcmp?  It's usually implemented as a 
call to memcmp anyway...



More information about the antlr-interest mailing list