From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: 08 September 2010 14:53
To: Gabor Szabo
Cc: Jenda Krynicky; [email protected];
[email protected]
Subject: Re: Hash performance v. hash size setting

> Because the actual process is rather slow--and I'm not sure there's
much to be done to speed things up, I try to pick up what snippets of 
> performance I can in the setup code, hence my query. 

Unfortunately, programmers are notoriously bad at guessing where
performance bottlenecks are. That is why the general recommendation is
to measure (profile and/or benchmark) before attempting to make things
go faster.

while (!performance_acceptable()) {
    profile();
    my $x = locate_worst_bottleneck();
    attempt_to_improve($x);
}

You might want to add 'and worth_the_effort()' to the loop condition.

Apologies, of course, if you have already been through all that.

HTH

-- 
Brian Raven 
 
Please consider the environment before printing this e-mail.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient or have received this e-mail in error, please advise 
the sender immediately by reply e-mail and delete this message and any 
attachments without retaining a copy.

Any unauthorised copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to