Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by Limbic~Region (Chancellor)
on Dec 01, 2006 at 00:20 UTC ( #587088=note: print w/ replies, xml ) Need Help??


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

GrandFather,
I am not sure if you looked at the options of this benchmark generating code but I included the ability for testing likely hit rates.

Cheers - L~R


Comment on Re^2: When should I use a dispatch table?
Replies are listed 'Best First'.
Re^3: When should I use a dispatch table?
by GrandFather (Sage) on Dec 01, 2006 at 00:47 UTC

    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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2015-08-01 02:45 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 (285 votes), past polls