httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Digest::MD5 in TestSmoke?
Date Sun, 06 Jan 2002 18:37:37 GMT
Doug MacEachern wrote:

> perl-framework does not work with 5.6.1 due to Digest::MD5 requirement.


Sorry, can we put it into the Bundle?


> i don't see any reason why this:
>  my $digest = Digest::MD5::md5_hex(join '', @$ra_tests);
> 
> cannot just be this:
>  my $digest = join '', @$ra_tests;

Because there can be hundreds of tests in @$ra_tests; Remember that the 
first run by default does 10 * #tests. In case of httpd-test it's 910 
strings, at the average of 10 char/string it's about 10K chars, now add 
many iterations and the memory demands are growing fast. Not talking 
about lookups of the 10k keys in the hash.

Any alternatives under 5.6.1?

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Mime
View raw message