Re: Hash performance v. hash size setting

Gabor Szabo <[email protected]>
Newsgroups gmane.comp.lang.perl.active-perl
Message-ID <[email protected]>
On Fri, Sep 3, 2010 at 1:30 PM, Jenda Krynicky <[email protected]> wrote:
> "Premature optimization is the root of all evil!"
>
> Are you sure you do need to fiddle with these things? Does it make a
> measurable difference?

I am glad you wrote this.
I wanted to ask back if there is any real performance issue in the code
and if Deane has used any profiler on it to see which part of the code
takes the longest to execute.

>> This may be merely a philosophical debate

yes. I think my philosophy is that within reasonable boundaries first
write maintainable, well tested code that does what it needs to do
and only then check if there is any performance issue.
If there is, then run http://search.cpan.org/dist/Devel-NYTProf/
and see where is the problem.

regards
   Gabor

-- 
Gabor Szabo                     http://szabgab.com/
Twitter: http://twitter.com/szabgab
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.