[Patch] Refactor regex executors

Paolo Carlini paolo.carlini@oracle.com
Fri Oct 25 14:23:00 GMT 2013


Hi,

On 10/25/2013 04:05 PM, Tim Shen wrote:
> On Fri, Oct 25, 2013 at 5:07 AM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
>> Ok. Are there measurable performance changes at this point? I'm asking
>> because we should take the chance and add performance testcases when we
>> improve the performance: later, unless somebody files a specific Bug report,
>> we become lazy about those, I know that ;)
> I do use another test case, but it's from Stackoverflow. I tend not to
> include that; Howeverm I make a bfs version of the previous split.cc
> testcase and it indeed reflect the optimization(in my machine, running
> time from 294u to 194u).
Ah good. Can't you just have split_bfs.cc defining the 
_GLIBCXX_REGEX_DFS_QUANTIFIERS_LIMIT macro and including the existing 
split.cc?

Paolo.



More information about the Gcc-patches mailing list