challenge: implement the max function

BLS Killing_Zoe at web.de
Mon Jan 22 09:49:07 PST 2007


Andrei Alexandrescu (See Website For Email) schrieb:
> BLS wrote:
> 
>> I am a D newbie, so do not expect a strike from a genius....
>> Ahem,
>> what if we have a builtin (numeric!) variant datatype incl. variant[]?
> 
> 
> Welcome to the club :o). That would work, but it would likely fail the 
> efficiency test.
> 
> Andrei
Thanks Andrei,
my german/english dictionary says : likely means ->similar to or 
prospective.
So probabely it is worth to investigate : How much optimized assembler 
code can do ?

Sure this solution has anyway a bad taste because it is a little bit 
like : Can anybody else do that for me :-)
Bjoern



More information about the Digitalmars-d mailing list