[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hash test
From: |
Eric Blake |
Subject: |
hash test |
Date: |
Wed, 17 Jun 2009 13:09:01 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I found a performance bug in gnulib's hash module:
http://article.gmane.org/gmane.comp.lib.gnulib.bugs/17875
So I'm committing this, to make it easier to repeat the test.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAko5P00ACgkQ84KuGfSFAYC6yQCgp2I96Dl/MsPFRycZ2d3kStlv
l4gAoIoniWB1IojS5E6KWMkhMjz1Vtgw
=tjlw
-----END PGP SIGNATURE-----
>From ab371610080e917974422a15862bac38b4af0e86 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Wed, 17 Jun 2009 13:08:22 -0600
Subject: [PATCH] Stress test hash resizing.
* doc/m4.texinfo (Define): Add new test.
Signed-off-by: Eric Blake <address@hidden>
---
ChangeLog | 5 +++++
doc/m4.texinfo | 19 +++++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c9169f4..1dfe21a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-17 Eric Blake <address@hidden>
+
+ Stress test hash resizing.
+ * doc/m4.texinfo (Define): Add new test.
+
2009-06-15 Eric Blake <address@hidden>
Properly manage hash return values.
diff --git a/doc/m4.texinfo b/doc/m4.texinfo
index d18d4b0..60d9c59 100644
--- a/doc/m4.texinfo
+++ b/doc/m4.texinfo
@@ -1921,6 +1921,25 @@ Define
Change the @samp{%d} to @samp{%s} and it is an associative array.
address@hidden
address@hidden Stress test for hash resizing.
+
address@hidden examples
address@hidden
+$ @kbd{m4 -I examples}
+include(`forloop3.m4')
address@hidden
+forloop(`i', `1', `10000', `define(`m'i, i)')
address@hidden
+m10000
address@hidden
+forloop(`i', `1', `10000', `undefine(`m'i, i)')
address@hidden
+m10000
address@hidden
address@hidden example
address@hidden ignore
+
@node Arguments
@section Arguments to macros
--
1.6.3.rc3.2.g4b51