http://qs321.pair.com?node_id=587088


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 (Saint) 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