Alternate signs in a range

matovitch camille.brugel at laposte.net
Sun Jan 26 05:45:31 PST 2014


> Extract it into a function and stick it into your library, it's 
> extremely useful :)

Anyway, the proposed solutions use twice much memory than a 
simple for loop...is the compiler smart enougth to optimize this 
kind of code ?


More information about the Digitalmars-d-learn mailing list