Article: Increasing the D Compiler Speed by Over 75%

Walter Bright newshound2 at digitalmars.com
Thu Jul 25 18:33:28 PDT 2013


On 7/25/2013 4:15 PM, Leandro Lucarella wrote:
> Walter Bright, el 25 de July a las 14:27 me escribiste:
>> On 7/25/2013 11:49 AM, Dmitry S wrote:
>>> I am also confused by the numbers. What I see at the end of the article is
>>> "21.56 seconds, and the latest development version does it in 12.19", which is
>>> really a 43% improvement. (Which is really great too.)
>>
>> 21.56/12.19 is 1.77, i.e. a >75% improvement in speed.
>
> This is certainly misleading, is very easy to be confused with a time
> reduction of 75%, which one would expect to be 1/4 of the original time.
> :)

I don't think it's misleading at all. Speed is distance/time. A change in speed 
(which is the title) is the reciprocal of a change in time.

For example, a doubling of speed (100% increase) is a halving of time (50% 
reduction).



More information about the Digitalmars-d-announce mailing list