Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 wandering the Monastery: (15)
As of 2014-09-22 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls