nikie wrote: > That's what this thread was all about. Now, I don't really see what you > are trying to say: Are you still trying to convince the OP that he > should write a Python function like one of those you suggested, for > performance reasons?
Sure, if it really matters. Code it in C, and you can do better than .index(). But I don't think it really matters. ;-) STeVe -- http://mail.python.org/mailman/listinfo/python-list