]> granicus.if.org Git - python/commit
Make the benchmark more fair for _decimal/decimal.py by setting context.prec
authorStefan Krah <skrah@bytereef.org>
Sun, 24 Jun 2012 12:10:49 +0000 (14:10 +0200)
committerStefan Krah <skrah@bytereef.org>
Sun, 24 Jun 2012 12:10:49 +0000 (14:10 +0200)
commit39e810eb6c6b19f3d8c26683c97207f411f0c22f
tree28e994247f7a267a74ce4c3067ff747b6d343b75
parent6cff9ffab010e63a3a8cec6bf00513a557f085b2
Make the benchmark more fair for _decimal/decimal.py by setting context.prec
only once (float obviously doesn't set any context at all).
Modules/_decimal/tests/bench.py