write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212.
Chris Angelico
rosuav at gmail.com
Sat Sep 29 06:05:33 EDT 2012
More information about the Python-list mailing list
Sat Sep 29 06:05:33 EDT 2012
- Previous message (by thread): write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212.
- Next message (by thread): write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Sep 29, 2012 at 7:38 PM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote: > > My understanding is that Python 3.3 has regressed the performance of ''. > Surely the Python devs can speed the performance back up and, just for us, > use less memory at the same time? Yes, but to do that we'd have to make Python more Australia-focused instead of US-centric. As of Python 3.4, the empty string will be lazily evaluated and be delimited by redback spiders instead of quotes. That will give a 25% speed and 50% memory usage improvement, but you'll need to be careful you don't get bitten. ChrisA
- Previous message (by thread): write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212.
- Next message (by thread): write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list