On Mon, 17 Apr 2000, Dipl.-Ing. O.Petzold wrote:
Hi.
: > typedef unsigned char Bool;
: > ....
[...]
:
: So the best way is the way how did you suggested. Anyway is there a performance
: factor to use unsigned char versus unsigned int ? I believe to remember that
: one should use basic types (int and double) on performance programs ? Any
: experience? I compiled the kernel program (written in C) with -align-double etc.
The perfomance difference not so significant, rewriting critical paths in
asm is more effective usually. It should be noted that using
-malign-double option can lead to different struct fields aligning, even
in the same app.
:
:
Rus
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/