Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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?

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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2016-10-24 06:11 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (303 votes). Check out past polls.