Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: 5:10: Why is this slower than 5.8.8?

by jk2addict (Chaplain)
on Dec 23, 2007 at 17:03 UTC ( #658783=note: print w/ replies, xml ) Need Help??


in reply to Re: 5:10: Why is this slower than 5.8.8?
in thread 5:10: Why is this slower than 5.8.8?

There's a big diference between 'common/not recommended', and almost 50% slower. And with all due respect to PBP, using three lines of shift instead of = @_ is just silly in some ways. To each their own.


Comment on Re^2: 5:10: Why is this slower than 5.8.8?
Re^3: 5:10: Why is this slower than 5.8.8?
by doom (Deacon) on Dec 23, 2007 at 18:54 UTC
    Well, obviously it would be better if there wasn't a speed penalty associated with array assigns, but since there is it might be better to live with the extra lines of shifts, even if they seem inelegant.

    Anyway, the main point is that we should probably assume that this is a FreeBSD oddity of some sort (ala the "malloc" issue under discussion), unless someone chimes in with some data that shows the contrary.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://658783]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2014-07-26 13:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (177 votes), past polls