Is the world coming to an end?
Francisco Almeida
francisco.m.almeida at gmail.com
Sat Apr 2 17:38:02 PDT 2011
== Quote from Daniel Gibson (metalcaedes at gmail.com)'s article
> > I am concerned about the choice of relegating a kind of number literal to a
library template. Doesn't this needlessly impact performance?
> No, it's a template, so it's evaluated at compile-time and doesn't impact
> (runtime) performance.
If there is no runtime performance penalty, then it's fine.
> > Granted, the 0123 syntax was error prone and we're all glad it's gone, but
aren't there better alternatives such as 0o123 or 0q123, for example?
> >
> How often do you use octal numbers?
Good point.
More information about the Digitalmars-d
mailing list