Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: When should I use a dispatch table?

by BrowserUk (Pope)
on Dec 01, 2006 at 01:07 UTC ( #587096=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\test>587072 -N=10 -KEYS=a,b
    dispatch =>
    ...
                Rate   ifelse dispatch
    ifelse   39306/s       --     -29%
    dispatch 55351/s      41%       --
    
  2. or download this
    C:\test>587072 -N=10 -KEYS=a,b
    dispatch =>
    ...
    ifelse   16250/s       --     -22%
    dispatch 20798/s      28%       --
    
  3. or download this
    C:\test>587072 -N=10 -KEYS=a,b,c,d,e,f,g
    dispatch =>
    ...
               Rate   ifelse dispatch
    ifelse   8092/s       --      -6%
    dispatch 8566/s       6%       --
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://587096]
help
Chatterbox?
[moritz]: ... "so there is no need to do anything"
[LanX]: and the code is a bit of a mess
[LanX]: moritz, no ... jsut copy one line of my code
[moritz]: I'm still using the CB, because ambrus's #cbstream makes it bearable
[LanX]: ... the rest is loaded from a node
[holli]: the best course of action would be to transfer the data to something well tested. even if it isnt perl based
[moritz]: but even if I had all the time in the world, I wouldn't spend much on perlmonks
[LanX]: holli: LOL
[LanX]: moritz: why ? family?
[LanX]: or other language?

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2017-11-20 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (291 votes). Check out past polls.

    Notices?