[BusyBox] [PATCH] size optimisation for fdformat.c
Glenn McGrath
bug1 at iinet.net.au
Wed Jan 21 08:11:06 UTC 2004
On Tue, 20 Jan 2004 14:34:31 -0800
Larry Doolittle <ldoolitt at recycle.lbl.gov> wrote:
> The overhead to be concerned with is the code to pass one more
> parameter in each place the function is used. Since there are
> so many such calls, as you point out, that can add up to quite
> a few bytes. Unfortunately, that size is platform-dependent,
> so there may not be a unique global optimum.
Thats why i think a single global variable would be best.
I know its best to avoid global variables but as this would be used a
lot i think its ok.
Glenn
More information about the busybox
mailing list