Steven Bethard wrote:
Jim wrote:
..
OK. I've just tried with 4 lines and the code works. With 11000 lines it uses all CPU for at least 30 secs. There must be a better way.


Was your test on *just* this function? Or were you doing something with the list produced by this function as well?

STeVe

Well it's fast enough now. Thanks for having a look.

Jim
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to