D for the Win

ketmar via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Aug 24 06:09:12 PDT 2014


On Sun, 24 Aug 2014 12:51:10 +0000
Mike via Digitalmars-d-announce <digitalmars-d-announce at puremagic.com>
wrote:

> 5. Using C's floor instead of D's floor. - very significant (why?)
gcc/clang inlines floorf().

gdc generates calls to floor() in both cases, C floor() is just faster.
i.e. gdc fails to see that floor() can be converted to intrinsic.

the same thing with DMD i believe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20140824/9affc5de/attachment.sig>


More information about the Digitalmars-d-announce mailing list