I think so, at least as far as that search() makes use of such a function. Whether it also should be an lfun or not is another matter. They are somewhat faster to call, but otoh each new lfun increases the size of every program.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-06-25 17:17: Subject: _search LFUN?
While peering closely at the ADTs Andreas Pettersson has been working on, I noticed that CircularList implements the method
int _search( mixed value, int|void start )
While there is no such LFUN in Pike today, perhaps there ought to be?
/ Johan Sundström (folkskådare)