public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Cc: Adhemerval Zanella <adhemerval.zanella@linaro.org>,
	 "libc-alpha\@sourceware.org" <libc-alpha@sourceware.org>,
	 nd <nd@arm.com>
Subject: Re: [PATCH v2] Improve strtok(_r) performance
Date: Wed, 16 Nov 2016 18:07:00 -0000	[thread overview]
Message-ID: <874m37s3i2.fsf@linux-m68k.org> (raw)
In-Reply-To: <AM5PR0802MB2610C6D7D1660235CAC2DCFA83BE0@AM5PR0802MB2610.eurprd08.prod.outlook.com> (Wilco Dijkstra's message of "Wed, 16 Nov 2016 17:06:38 +0000")

On Nov 16 2016, Wilco Dijkstra <Wilco.Dijkstra@arm.com> wrote:

> diff --git a/benchtests/bench-strtok.c b/benchtests/bench-strtok.c
> index eeb798f01575c712b958ad1b7d5f88f91e158202..074be9748993d26539df642bc246e475b77557a7 100644
> --- a/benchtests/bench-strtok.c
> +++ b/benchtests/bench-strtok.c
> @@ -20,13 +20,40 @@
>  #define TEST_NAME "strtok"
>  #include "bench-string.h"
>  
> -#define STRTOK strtok_string
> -#include <string/strtok.c>
> +char *oldstrtok (char *s, const char *delim)

Style: break after return type.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

      reply	other threads:[~2016-11-16 18:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-28 11:35 [PATCH] " Wilco Dijkstra
2016-11-04 12:55 ` Adhemerval Zanella
2016-11-14 12:21 ` Wilco Dijkstra
2016-11-14 12:26   ` Adhemerval Zanella
2016-11-14 12:50     ` Wilco Dijkstra
2016-11-14 12:57       ` Adhemerval Zanella
2016-11-16 17:06         ` [PATCH v2] " Wilco Dijkstra
2016-11-16 18:07           ` Andreas Schwab [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=874m37s3i2.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=Wilco.Dijkstra@arm.com \
    --cc=adhemerval.zanella@linaro.org \
    --cc=libc-alpha@sourceware.org \
    --cc=nd@arm.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).