Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!noao!amethyst!organpipe!argus.lpl.arizona.edu!ron From: ron@argus.lpl.arizona.edu (Ron Watkins) Newsgroups: comp.lang.c Subject: Strn?cmp () Keywords: strcmp (), strncmp () Message-ID: <252@organpipe.UUCP> Date: 17 Oct 90 13:30:13 GMT References: Sender: news@organpipe.UUCP Distribution: comp Organization: Lunar and Planetary Lab, U of AZ Lines: 7 If the primary question is one of speeding up a piece of code with lots of strcmp's, has anyone thought of this quick and easy solution: DFA's! Some simple code will establish a 2-D array [N,128] (or 256, or whatever). Traversal is straight forward enough. :->. You could also construct a trie! I don't like these as well though... Ron Watkins ron@argus.lpl.arizona.edu