--- In [email protected], "johnmatthews2000" <jm5...@...> wrote:
>
> Doesn't look too bad. Some points:

I created an empty rebase_stats.txt file, fixed the base to 10 to make it 
easier to test, and got the following:

$ rebase
Convert 101 decimal to base 10: 101
You took 4 seconds to calculate it right.
$ rebase
Convert 113 decimal to base 10: 113
You took 12 seconds to calculate it right.
$ rebase
Convert 60 decimal to base 10: 60
You took 28 seconds to calculate it right.
Your average is 8 seconds.

The average of 4, 12 and 28 isn't 8 - I suspect it doesn't include the last 
result in the calculation?

It would be nice to give the user an option to reset the statistics.

Reply via email to