bug-gnulib
[Top][All Lists]
Advanced

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

Re: memmem test faiure on IRIX


From: Eric Blake
Subject: Re: memmem test faiure on IRIX
Date: Fri, 11 Jan 2008 17:55:58 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

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

According to Bruno Haible on 1/11/2008 5:14 PM:
|
| The reason is that test-memmem on this machine takes about 13 seconds
| without time limitation, whereas test-strstr needs about 3 seconds. So
| it's needed to increase these allowed times.

memmem is in general faster than strstr; but test-memmem takes longer
because it executes one additional test (for sublinear performance).  That
final test for sublinear speed is the culprit; it's hard coming up with a
truly obvious discrimination in timings without lots more memory.
|
| I'm therefore applying this:

Thanks.

- --
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

iD8DBQFHiBAe84KuGfSFAYARAsKzAJ4vhbXKpvLmar4500siTb+UuRMGMgCcCsSn
3/W/1x472zs11cHQ27H1Anc=
=ltF8
-----END PGP SIGNATURE-----




reply via email to

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