commit | 78f075636cb222c9760a2e3a1235f976714d4c38 | [log] [tgz] |
---|---|---|
author | Stefan Krah <skrah@bytereef.org> | Sun Jun 24 12:20:03 2012 +0200 |
committer | Stefan Krah <skrah@bytereef.org> | Sun Jun 24 12:20:03 2012 +0200 |
tree | 1b29bc7058ce07ea4fff3d31ebd445a4b250c2f1 | |
parent | 95aeae01e29de49bf0d47b2442bc656cfe0e2ee1 [diff] |
Speed up _decimal by another 10-15% by caching the thread local context that was last accessed. In the pi benchmark (64-bit platform, prec=9), _decimal is now only 1.5x slower than float.