DMD 1.019 and 2.003 releases

BCS ao at pathlink.com
Tue Jul 24 16:07:06 PDT 2007


Reply to Walter,

> BCS wrote:
> 
>> Reply to Walter,
>> 
>>> c += 'a' - 'A';   // to lower case
>>> 
>> this is safer and faster (Ihink)
>> 
>> c |= 0b0010_0000;
>> 
> On modern processors, there is no speed difference between the two. I
> prefer the former only because I can't remember which bit it is <g>.
> 

Odd, I use \dmd\html\d\ascii-table.html to rememeber





More information about the Digitalmars-d-announce mailing list