Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@specifix.com>
To: tromey@redhat.com
Cc: gdb-patches@sourceware.org
Subject: Re: RFA: use memcpy, not a loop
Date: Tue, 29 Jul 2008 22:11:00 -0000	[thread overview]
Message-ID: <1217369493.3549.621.camel@localhost.localdomain> (raw)
In-Reply-To: <1217369416.3549.619.camel@localhost.localdomain>

On Tue, 2008-07-29 at 15:10 -0700, Michael Snyder wrote:
> On Tue, 2008-07-29 at 13:13 -0600, Tom Tromey wrote:
> > While debugging on the python branch I ran into a couple of loops that
> > can be replaced with memcpy.  I find that this is easier to read and
> > it makes debugging a bit friendlier.
> > 
> > Built and tested on the compile farm (x86-64).
> > Ok?
> 
> Sure.  Looks like you can nuke "tmp" from the function too...
> 
> No need to re-submit if you decide to make that change.
> But doesn't each of those functions have *two* such loops?

Oh, never mind, I see that the 2nd loop is not a simple copy.
And so it still requires 'tmp'.



      reply	other threads:[~2008-07-29 22:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-29 19:14 Tom Tromey
2008-07-29 22:10 ` Michael Snyder
2008-07-29 22:11   ` Michael Snyder [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=1217369493.3549.621.camel@localhost.localdomain \
    --to=msnyder@specifix.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    /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