Message 174554 - Python tracker
Message174554
| Author | brett.cannon |
|---|---|
| Recipients | brett.cannon, pjenvey |
| Date | 2012-11-02.18:34:24 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1351881264.39.0.439395849292.issue16390@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The Mako developers discovered that under Python 3.3 their library under the mako_v2 benchmark went from 2.95x slower than Python 2.7 to 1.25x slower by simply avoiding an re compilation: http://www.makotemplates.org/trac/changeset/c1468b12f115ac9e469150ce24ea042aeae5e270 Their profiling showed that functools.lru_cache in rc._compiled_typed was a major contributor: http://paste.ofcode.org/yZRKnJfTsHesFR8hMWfc7f |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-11-02 18:34:24 | brett.cannon | set | recipients: + brett.cannon, pjenvey |
| 2012-11-02 18:34:24 | brett.cannon | set | messageid: <1351881264.39.0.439395849292.issue16390@psf.upfronthosting.co.za> |
| 2012-11-02 18:34:24 | brett.cannon | link | issue16390 messages |
| 2012-11-02 18:34:24 | brett.cannon | create | |