[BusyBox] LEAF and ticker

Alex Holden alex at linuxhacker.org
Mon Feb 4 02:24:03 UTC 2002


Manuel Novoa III wrote:

> 1) You should _really_ declare c[] as static const.  By not doing
>    so, your making the compiler build the array on the stack.


Good point.

> Of course, why bother with stdio if you don't want buffering?  Try
> the following... (I get a size of 95 bytes on i386 with gcc -Os)

Isn't it better to use the stdio functions in busybox if they produce 
simpler code because we've already paid the overhead of being linked to 
stdio anyway?

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer




More information about the busybox mailing list