Rewrote find_longest_prefix() to not recurse. find_longest_prefix() now requires the prefix forest to be initialized before being called (this is now done by replace_many()). Added a few FIXME's about possible optimizations. Rev: src/builtin_functions.c:1.607