Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: When should I use a dispatch table?

by GrandFather (Sage)
on Dec 01, 2006 at 00:47 UTC ( #587093=note: print w/replies, xml ) Need Help??


in reply to Re^2: When should I use a dispatch table?
in thread When should I use a dispatch table?

I admit to my shame that I didn't do more than glance at your code and missed that (let's blame pressure of work). However I really intended to suggest that an implementor of such code ought consider the effect of such an optimisation, rather than that you would be remiss in not accounting for it in your benchmark. Kudos for allowing for hit rate optimisation though!


DWIM is Perl's answer to Gödel
  • Comment on Re^3: When should I use a dispatch table?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://587093]
help
Chatterbox?
[Corion]: Heh. Perl heredocs are nasty - Filter::Simple doesn't know whether the line continued after the heredoc or not. The heredoc payload starts on the next line.
[Corion]: So currently, Filter::Simple mangles your code/line numbers if you use heredocs ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-01-22 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (187 votes). Check out past polls.