[BusyBox] further ash size reduction
Manuel Novoa III
mjn3 at busybox.net
Wed Aug 8 09:45:37 UTC 2001
vodz,
On Wed, Aug 08, 2001 at 05:56:00PM +0400, Vladimir N. Oleynik wrote:
> > The syntax tables have 257 elements and the base is adjusted
> > by 130. That means the acceptable range of values is -130 to 126! I needed
> > to add an entry for 127, but I'm not sure if the values I used were correct.
>
> You are right. The additional symbol is necessary.
> The initilal ash-0.2 code was without support aliases and
> -PEOF=SYNBASE=129
> syntax_index in our version have addition symbol[1]=SPCTL_CIGN_CIGN_CIGN
> but not have symbol for '\127'+SYNBASE. Thanks!
Sure. I hadn't noticed it until I added some comments to the
syntax_index_table in my patch.
> > In any case, here's my latest patch. I still haven't changed the code
> > regarding tokendlist. I'm getting a savings of about 2k over the current
> > cvs version. Major new changes were to cmdtxt(), calcsiz(), copynode(),
> > and ulimitcmd. There are other minor changes here and there though.
>
> Ah, Amazingly! My variant worse 20 bytes now (for syntax table magic) and
> I not surrender ;)
;-)
Manuel
More information about the busybox
mailing list