[ragel-users] Control of efficiency of pattern-matching

Adrian Thurston thurs... at cs.queensu.ca
Mon Mar 31 16:27:58 UTC 2008


Manoj Rajagopalan wrote:
> The left-guard should place higher priority on staying in the 
> "space-eater" pattern but I'm guessing the machines will be equally 
> efficient and the <: only helps in disambiguation which isn't the case 
> here. Am I correct?

Yes that's right, the two state machines will be identical since there
is no ambiguity.

-Adrian



More information about the ragel-users mailing list