Inherent code performance advantages of D over C?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sun Dec 8 02:47:33 PST 2013


On 08/12/13 11:31, Joseph Rushton Wakeling wrote:
> I'd forgotten that std.algorithm pulled in std.random.  Glancing through, I'm
> not sure it uses it apart from for unittests?

On closer look, it's used for std.algorithm.topN.  I guess it could be relegated 
to being imported inside that function (and appropriate unittest blocks), but 
that does justify it being a top-level import.


More information about the Digitalmars-d mailing list