Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by jk2addict (Chaplain)
on Dec 23, 2007 at 17:03 UTC ( [id://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?

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://658783]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found