[PATCH 2/2] (g)unzip: Optimize inflate_codes()

Rob Landley rob at landley.net
Mon Feb 8 20:26:44 UTC 2010


On Monday 08 February 2010 11:55:16 Joakim Tjernlund wrote:
> Ported the recent optimization from the Linux kernel.
> This will not perform as god as the kernel version as the
> code structure in busybox is different and I had to adopt
> the optimization to it.
>
> This has seen very little testing and is a RFC only at this point.
> The inflate speed increase in the kernel was 12-15% on ppc.
>
> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>

That looks like a fairly significant size increase.  Is it big enough to 
justify a config option?  (This is why "make bloatcheck" exists...)

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds


More information about the busybox mailing list