[U-Boot] [PATCH RFC] zlib: Optimize decompression

Joakim Tjernlund
2009-11-19T14:32:29Z

Peter Korsgaard <jacmet@gmail.com> wrote on 19/11/2009 15:07:12:
>
> >>>>> "Joakim" == Joakim Tjernlund <Joakim.Tjernlund@transmode.se> writes:
>
> Joakim> This patch optimizes the direct copy procedure.
> Joakim> Uses get_unaligned() but only in one place.
> Joakim> The copy loop just above this one can also use this
> Joakim> optimization, but I havn't done so as I have not tested if it
> Joakim> is a win there too.
> Joakim> On my MPC8321 this is about 17% faster on my JFFS2 root FS
> Joakim> than the original. No speed test has been performed in u-boot.
>
> On a mpc8347 board it's ~12% faster at decompressing the uImage (165ms).
>
> Joakim> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
>
> Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

Thanks, question: How does this compare with your lzo uncompress?

Jocke