A curious bit of code...

Serhiy Storchaka storchaka at gmail.com
Thu Feb 13 22:49:15 CET 2014

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.

More information about the Python-list mailing list