"Richard A. O'Keefe" <ok@REDACTED> writes: > Ideally, if you wrote > > f("http:" ++ S) -> S; > f("https:" ++ S) -> S; > f("ftp:" ++ S) -> S; > f("tftp:" ++ S) -> S; > f( S) -> S. > > the compiler would generate essentially the same trie. It will. /Bjorn -- Björn Gustavsson, Erlang/OTP, Ericsson AB