m4-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M4 1.4.10b [beta] released


From: Eric Blake
Subject: Re: M4 1.4.10b [beta] released
Date: Sat, 01 Mar 2008 05:33:13 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

-----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  <address@hidden>
|
|       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             address@hidden
-----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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]