The languages of this class have great practical importance in computer science as they can be parsed much more efficiently than nondeterministic context-free languages. The complexity of the program and execution time of a deterministic pushdown automaton is vastly less than that of a nondeterministic one. In the naive implementation, the latter must make copies of the stack every time a nondeterministic step occurs. The best known algorithm to test membership in any context-free language is
Valiant's algorithm, taking O(2.378) time, where is the length of the string. On the other hand, deterministic context-free languages can be accepted in O() time by an
LR() parser. This is very important for
computer language translation because many computer languages belong to this class of languages. ==See also==