tolf and detab

Walter Bright newshound2 at digitalmars.com
Sun Aug 8 10:32:19 PDT 2010


bearophile wrote:
> In the D code I have added an idup to make the comparison more fair, because
> in the Python code the "line" is a true newly allocated line, you can safely
> use it as dictionary key.

So it is with byLine, too. You've burdened D with double the amount of allocations.

Also, I object in general to this method of making things "more fair". Using a 
less efficient approach in X because Y cannot use such an approach is not a 
legitimate comparison.


More information about the Digitalmars-d mailing list