Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: elsif chain vs. dispatch

by moritz (Cardinal)
on Apr 26, 2009 at 22:28 UTC ( #760208=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                 Rate    elsif dispatch
    elsif    252062/s       --     -73%
    dispatch 927942/s     268%       --
    
  2. or download this
    #!/usr/bin/perl
    # elsifbench - which is faster, a chain of elsif or a dispatch table? 
    ...
    cmpthese(-1,{elsif=>\&elsifchain,dispatch=>\&dispatch});
    
    exit;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://760208]
help
Chatterbox?
[Corion]: GrandFather: Yeah, I'm currently in the same situation - I get DOM node IDs from Chrome, except that they vanish at some point in time, or event, or whatever. My current workaround is to re-fetch the node IDs all the time, but that is slow

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-08-24 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (365 votes). Check out past polls.

    Notices?