This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:24brett.cannonsetrecipients: + brett.cannon, pjenvey
2012-11-02 18:34:24brett.cannonsetmessageid: <1351881264.39.0.439395849292.issue16390@psf.upfronthosting.co.za>
2012-11-02 18:34:24brett.cannonlinkissue16390 messages
2012-11-02 18:34:24brett.cannoncreate