This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix slow and non-deterministic behavior of isspace() and tolower()
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Shawn Landden <shawn at git dot icu>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 09 Jun 2019 18:42:04 +0300
- Subject: Re: [PATCH] Fix slow and non-deterministic behavior of isspace() and tolower()
- References: <20190609151704.16061-1-shawn@git.icu>
> From: Shawn Landden <shawn@git.icu>
> Cc: Shawn Landden <shawn@git.icu>
> Date: Sun, 9 Jun 2019 10:17:04 -0500
>
> I was getting 8% and 6% cpu usage in tolower() and isspace(),
> respectively, waiting for a breakpoint on ppc64el.
>
> Also, gdb doesn't want non-deterministic behavior here.
Instead of inventing our own wheel, how about using the Gnulib's
c-ctype module?