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

Peter Korsgaard
2009-11-19T14:07:12Z

>>>>> "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>

--
Bye, Peter Korsgaard