-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bruno Haible on 2/28/2008 7:02 AM:
|> And with --disable-assert, I get:
|>
|>                    41.2 s real + 0.9 sec system
|
| With the patch below, I get:
|
|                      36.9 s real + 0.9 sec system
|
| i.e. an additional 10% speedup.
|
| 2008-02-28  Bruno Haible  <[EMAIL PROTECTED]>
|
|       Optimize a code path frequently exercised by autoconf.
|       Memory impact: none.
|       Speed impact: 10% speedup.
|       * src/input.c (next_token): Add an optimized code path for the
|       frequent case of rescanning chains or strings.

Here's what I installed on the argv_ref branch instead - it likewise shows
an impressive speedup, even without implementing memchr2 or using
freadahead yet (but those two steps can only help), and it will be much
easier to port to the master branch.  Thanks again for reporting this hot
spot in execution, and forcing me to come up with a nicer way to optimize it.

http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=7468916

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHyU0J84KuGfSFAYARArjbAKDXDuN8wvOjiZQ2366fUostLMhxkwCffDoR
LNPWaHOwWBcDREpQnxblFrw=
=ERVU
-----END PGP SIGNATURE-----


_______________________________________________
M4-discuss mailing list
M4-discuss@gnu.org
http://lists.gnu.org/mailman/listinfo/m4-discuss

Reply via email to