Message227252
| Author |
scoder |
| Recipients |
scoder |
| Date |
2014年09月22日.07:10:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1411369830.75.0.216203072207.issue22458@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Fractions are great for all sorts of exact computations (including money/currency calculations), but are quite slow due to the need for normalisation at instantiation time.
I adapted the existing telco benchmark to use Fraction instead of Decimal to make this problem more visible. One change I made was to take the data reading out of the measured loop. I/O is not part of what the benchmark should measure.
Please consider adding it to the benchmark suite. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年09月22日 07:10:30 | scoder | set | recipients:
+ scoder |
| 2014年09月22日 07:10:30 | scoder | set | messageid: <1411369830.75.0.216203072207.issue22458@psf.upfronthosting.co.za> |
| 2014年09月22日 07:10:30 | scoder | link | issue22458 messages |
| 2014年09月22日 07:10:30 | scoder | create |
|