This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] GDB/testsuite: Bump up `match_max'
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: "Maciej W. Rozycki" <macro at codesourcery dot com>, gdb-patches at sourceware dot org
- Date: Mon, 19 May 2014 07:23:24 -0700
- Subject: Re: [PATCH] GDB/testsuite: Bump up `match_max'
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 1 dot 10 dot 1405172136000 dot 12061 at tp dot orcam dot me dot uk> <87bnutzwbj dot fsf at fleche dot redhat dot com>
> I wonder whether you timed the test suite?
> The expect man page says:
>
> This may be changed with the function match_max. (Note that excessively
> large values can slow down the pattern matcher.)
>
> If it is notably slower then it would be better to rewrite the macro
> tests to avoid this need.
Funny you would say that! I was reviewing the patch, and decided to
do exactly that. Ran into trouble (fresh install), but almost there...
--
Joel