On Sat, 24 Jul 1999 13:35:03 -0500, Richard E. Hawkins wrote:
>
>> Well, and this one:
>>
>> >+ p->s[i] |= 0x20; /* fill dwarf bits to 32 and */
>> >+ p->s[i] &= 0x7f; /* decapitate all giants ... */
>>
>> This is efficient but random toggles many ascci chars... A bloody
>>
Patch commited. It looks very good, thanks.
Alejandro
> Well, and this one:
>
> >+p->s[i] |= 0x20; /* fill dwarf bits to 32 and */
> >+p->s[i] &= 0x7f; /* decapitate all giants ... */
>
> This is efficient but random toggles many ascci chars... A bloody
> massacre of many innocent bits...
XOR them all and let the proces
On Sat, 24 Jul 1999 14:04:05 +0100, Arnd Hanses wrote:
>+ p->s[i] &= 0x7f;
>+ !(isprint(p->s[i])) ? (p->s[i] |= 0x20) : ; /* ? */
Well, and this one:
>+ p->s[i] |= 0x20; /* fill dwarf bits to 32 and */
>+ p->s[i] &= 0x7f; /* decapitate all gia
On Fri, 23 Jul 1999 02:30:19 +0100, Arnd Hanses wrote:
Add to LString.C:
>+/* SMiyata: bitwise AND 0x7f a string is more efficient than subst();
>+** ISO-8859-x and EUC (Extended Unix Code) works just fine with this.
>+** The only remaining problem is that Microsoft/IBM codepages,
>+** Shift-JI