Message227252
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. |
|
| Date |
User |
Action |
Args |
| 2014-09-22 07:10:30 | scoder | set | recipients:
+ scoder |
| 2014-09-22 07:10:30 | scoder | set | messageid: <[email protected]> |
| 2014-09-22 07:10:30 | scoder | link | issue22458 messages |
| 2014-09-22 07:10:30 | scoder | create | |
|