public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH RFC] zlib: Optimize decompression
Date: Sat, 05 Dec 2009 01:32:43 +0100	[thread overview]
Message-ID: <20091205003243.C9D033F6E3@gemini.denx.de> (raw)
In-Reply-To: <1258633364-20805-1-git-send-email-Joakim.Tjernlund@transmode.se>

Dear Joakim Tjernlund,

In message <1258633364-20805-1-git-send-email-Joakim.Tjernlund@transmode.se> you wrote:
> 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>
> ---
> 
>  I have the same optimization queued for linux. Figured it
>  would be useful for u-boot too.
> 
>  Testing and feedback welcome.
> 
>  lib_generic/zlib.c |   56 ++++++++++++++++++++++++++++++++++++++++-----------
>  1 files changed, 44 insertions(+), 12 deletions(-)

Applied to "next", thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I don't mind criticism. You know me. I've  never  been  one  to  take
offence  at  criticism. No one could say I'm the sort to take offence
at criticism -- Not twice, anyway. Not without blowing bubbles.
                                  - Terry Pratchett, _Witches Abroad_

      parent reply	other threads:[~2009-12-05  0:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 12:22 [U-Boot] [PATCH RFC] zlib: Optimize decompression Joakim Tjernlund
2009-11-19 14:07 ` Peter Korsgaard
2009-11-19 14:32   ` Joakim Tjernlund
2009-11-19 14:51     ` Peter Korsgaard
2009-12-05  0:32 ` Wolfgang Denk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091205003243.C9D033F6E3@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox