diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2009-11-19 12:22:44 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-12-05 00:32:32 (GMT) |
commit | cd514aeb996e2f7aefbe1f78481965d9d074aed4 (patch) | |
tree | 7d137cf995168e0722913d670a696f81344f69ec /common | |
parent | 20dde48bcadd856c86a91d5463831a10be46db83 (diff) | |
download | u-boot-cd514aeb996e2f7aefbe1f78481965d9d074aed4.tar.xz |
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 'common')
0 files changed, 0 insertions, 0 deletions