-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Eric,
On 10 Oct 2006, at 11:34, Eric Blake wrote:
I had no idea we were hammering malloc this badly. I temporarily
instrumented
xmalloc to show usage patterns, then ran 'M4=src/m4 autoreconf -v'
to profile
the m4 configure script before and after this patch.
Nice analysis! And nice patch too.
Rene himself said that he thinks we abuse obstacks in the current
implementation,
though I never took the time to figure out how to comb out the hair.
on head, I may experiment with adding an obstack_regrow macro that
I documented in the bug-m4 list.
That would be really interesting to see. Especially if it finds its way
back to glibc eventually :-)
Cheers,
Gary
- --
Gary V. Vaughan ())_. [EMAIL PROTECTED]
Research Scientist ( '/ http://blog.azazil.net
GNU Hacker / )= http://www.gnu.org/software/{libtool,m4}
Technical Author `(_~)_ http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFNTOmFRMICSmD1gYRAsLtAKCkaqiwYoUQor5LG6Yt5WopiM4UrACZAdBL
EBlYOioojUnA7G0CsJAw130=
=exdd
-----END PGP SIGNATURE-----
_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches