DMD 0.151 release

Dave Dave_member at pathlink.com
Mon Apr 3 11:00:01 PDT 2006


In article <e0qvh1$gs9$1 at digitaldaemon.com>, Deewiant says...
>
>Walter Bright wrote:
>> Bug fixes.
>> 
>> http://www.digitalmars.com/d/changelog.html
>
>http://d.puremagic.com/bugzilla/show_bug.cgi?id=67
>
>You have fixed bug 67, but it seems that compiling with -release is required.
>Compiling only with -O -inline the test code reports, on my computer, that
>std.math.abs() is almost 10 times slower. Shouldn't this change occur with
>-inline? I thought -release was only for removing stuff like asserts and contracts.

Take a look at dmd/src/dmd/mars.c - That explains it (and FWIW sounds reasonable
to me since -release will most likely be thrown when performance is an issue for
end-user builds after QA is complete).

- Dave





More information about the Digitalmars-d-announce mailing list