In article <mailman.6893.1392328170.18130.python-l...@python.org>, Serhiy Storchaka <storch...@gmail.com> wrote:
> 13.02.14 21:59, Zachary Ware напиÑав(ла): > > don't use re for simple stuff (because while it may be very fast, it's > > dominated by attribute lookup and function call overhead), > > And the time of re variant depends on the size of input. That's a good point. It's nice, for a change, to see somebody shoot down a regex solution for a valid reason :-)
-- https://mail.python.org/mailman/listinfo/python-list