Xref: utzoo comp.compilers:217 comp.lang.c:8405 comp.unix.questions:6163 Path: utzoo!utgpu!water!watmath!clyde!ima!johnl From: sargas.usc.edu!tli@oberon.usc.edu (Tony Li) Newsgroups: comp.compilers,comp.lang.c,comp.unix.questions Subject: Re: LEX behaviour when given "large" automata. Message-ID: <917@ima.ISC.COM> Date: 20 Mar 88 11:19:19 GMT References: <911@ima.ISC.COM> <914@ima.ISC.COM> Sender: johnl@ima.ISC.COM Reply-To: sargas.usc.edu!tli@oberon.usc.edu (Tony Li) Organization: University of Southern California, Los Angeles, CA Lines: 13 Approved: compilers@ima.UUCP In fact, another cute trick is to toss in a simple hashing function. Unless you've got lots of keywords, you usually can get away with doing only one strcmp. Tony Tony Li - USC University Computing Services "Fene mele kiki bobo" Uucp: oberon!tli -- Joe Isuzu Bitnet: tli@uscvaxq, tli@ramoth Internet: tli@sargas.usc.edu -- Send compilers articles to ima!compilers or, in a pinch, to Levine@YALE.EDU Plausible paths are { ihnp4 | decvax | cbosgd | harvard | yale | bbn}!ima Please send responses to the originator of the message -- I cannot forward mail accidentally sent back to compilers. Meta-mail to ima!compilers-request