[antlr-interest] Re: unicode support

Pete Forman pete.forman at westerngeco.com
Wed Dec 18 01:26:52 PST 2002


At 2002-12-17 16:52 -0800, Terence Parr wrote:
>but it would be pretty cool.  Could do it on demand if they reference
>any 'blah' that is not a single char.  I'd load the table and look it
>up.  Any ideas making this faster?  It's 12000 hashtable entries ;)
>Technically the charVocabulary could limit what I had to load, but...

How about using a perfect hash?

-- 
Pete Forman                -./\.-  Disclaimer: This post is originated
WesternGeco                  -./\.-   by myself and does not represent
pete.forman at westerngeco.com    -./\.-   opinion of Schlumberger, Baker
http://petef.port5.com           -./\.-   Hughes or their divisions.


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list