LPC11U68 + C rychlost portu

Jindroush jindroush na seznam.cz
Úterý Červenec 26 14:58:54 CEST 2016


Pane kolego, dalsi zastavka pri optimalizaci toho zapisu je zde 
http://ioccc.org/ :-)

On 26.7.2016 14:46, Jaromir Sukuba wrote:
> Takto?
>
> for(uint8_t*p8=(uint8_t*)(fnt.dat+znak+r),x=wid,b=1;x--;(b+=b)?0:(p8++,b=1))
> *p8&b?ili_wrI16():ili_wrP16();
>
> Je tam potom menej zatvoriek, je to citatelnejsie, lebo kazdemu je
> jasne ako to citat.
>
> 2016-07-26 14:36 GMT+02:00 Jan Waclawek <konfera at efton.sk>:
>> for(uint8_t*p8=(uint8_t*)(fnt.dat+znak+r),x=wid,b=1;x--;(b+=b)?0:(p8++,b=1))
>> {
>>      *p8&b?ili_wrI16():ili_wrP16();
>>    }
>> }
>>
> _______________________________________________
> HW-list mailing list  -  sponsored by www.HW.cz
> Hw-list at list.hw.cz
> http://list.hw.cz/mailman/listinfo/hw-list
>


-- 
Jindroush <jindroush at seznam.cz>


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Další informace o konferenci Hw-list