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 skrah
Recipients eric.snow, grahamd, ncoghlan, petr.viktorin, skrah
Date 2015-07-04.13:30:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436016648.11.0.465914003155.issue24553@psf.upfronthosting.co.za>
In-reply-to
Content
I think for fast access we need a hybrid solution that allows
static types (heap types slowed down _decimal) *and* cache the
thread local values (like it's currently done for the thread-local
context in _decimal).

Caching the context brought an enormous speedup (about 20%).

I'm not sure if all that can be done in a general API, but it's
clearly the fastest way.
History
Date User Action Args
2015-07-04 13:30:48skrahsetrecipients: + skrah, ncoghlan, grahamd, petr.viktorin, eric.snow
2015-07-04 13:30:48skrahsetmessageid: <1436016648.11.0.465914003155.issue24553@psf.upfronthosting.co.za>
2015-07-04 13:30:48skrahlinkissue24553 messages
2015-07-04 13:30:47skrahcreate