summaryrefslogtreecommitdiff
path: root/lib_nios
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2009-11-19 12:22:44 (GMT)
committerWolfgang Denk <wd@denx.de>2009-12-05 00:32:32 (GMT)
commitcd514aeb996e2f7aefbe1f78481965d9d074aed4 (patch)
tree7d137cf995168e0722913d670a696f81344f69ec /lib_nios
parent20dde48bcadd856c86a91d5463831a10be46db83 (diff)
downloadu-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 'lib_nios')
0 files changed, 0 insertions, 0 deletions