Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: elsif chain vs. dispatch

by Bloodnok (Vicar)
on Apr 26, 2009 at 22:11 UTC ( #760204=note: print w/ replies, xml ) Need Help??


in reply to elsif chain vs. dispatch

I don't know for sure, but I wouldn't mind betting that it has to do with the traditional overheads associated with the use of hashes - in this case, hash lookup c/w direct code.

As I say I don't know, but a pound to a pinch of sh!t that one of the more learned brethren will put me (rightfully) in my place.

Update:

I should have realised from my initial observation that the difference could be at least in part put down to the difference between run-time and compile-time machinations ... as since pointed out elsewhere.

A user level that continues to overstate my experience :-))


Comment on Re: elsif chain vs. dispatch

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2015-07-29 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls