Strn?cmp ()

Ron Watkins ron at argus.lpl.arizona.edu
Wed Oct 17 23:30:13 AEST 1990


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 at argus.lpl.arizona.edu



More information about the Comp.lang.c mailing list