From: Arnaldo Carvalho de Melo <acme@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: a.p.zijlstra@chello.nl, davem@davemloft.net, imunsie@au.ibm.com,
linux-kernel@vger.kernel.org, mhiramat@redhat.com, mingo@elte.hu,
paulus@samba.org
Subject: Re: Small perf optimization
Date: Thu, 22 Jul 2010 13:21:07 -0300 [thread overview]
Message-ID: <20100722162107.GP5222@ghostprotocols.net> (raw)
In-Reply-To: <201007221611.o6MGBnmW029378@hs20-bc2-1.build.redhat.com>
Em Thu, Jul 22, 2010 at 12:11:49PM -0400, Ulrich Drepper escreveu:
> Before this bad practice of using arrays of string pointers to constant
> strings further spreads let's fix it. With this change not only is the
> entire data associated with the arrays read-only, it also replaces a
> memory lookup with a trivial arithmetic operation. The result is
> a smaller and faster binary.
>
>
> Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Thanks, applying to perf/core (i.e. for 2.6.36).
- Arnaldo
prev parent reply other threads:[~2010-07-22 16:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-22 16:11 Small perf optimization Ulrich Drepper
2010-07-22 16:21 ` Arnaldo Carvalho de Melo [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=20100722162107.GP5222@ghostprotocols.net \
--to=acme@redhat.com \
--cc=a.p.zijlstra@chello.nl \
--cc=davem@davemloft.net \
--cc=drepper@redhat.com \
--cc=imunsie@au.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhiramat@redhat.com \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.