diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2009-11-19 13:22:44 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-12-05 01:32:32 +0100 |
commit | cd514aeb996e2f7aefbe1f78481965d9d074aed4 (patch) | |
tree | 7d137cf995168e0722913d670a696f81344f69ec /examples | |
parent | 20dde48bcadd856c86a91d5463831a10be46db83 (diff) | |
download | u-boot-imx-cd514aeb996e2f7aefbe1f78481965d9d074aed4.zip u-boot-imx-cd514aeb996e2f7aefbe1f78481965d9d074aed4.tar.gz u-boot-imx-cd514aeb996e2f7aefbe1f78481965d9d074aed4.tar.bz2 |
zlib: Optimize decompression
This patch optimizes the direct copy procedure.
Uses get_unaligned() but only in one place.
The copy loop just above this one can also use this
optimization, but I havn't done so as I have not tested if it
is a win there too.
On my MPC8321 this is about 17% faster on my JFFS2 root FS
than the original. No speed test has been performed in u-boot.
Size increase on ppc: 484 bytes
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions