Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Global warning is an act of:

by apl (Monsignor)
on Nov 15, 2008 at 19:21 UTC ( #723831=note: print w/replies, xml ) Need Help??


in reply to Global warning is an act of:

That's Zod, not God ...

Replies are listed 'Best First'.
Re^2: Global warning is an act of:
by blazar (Canon) on Nov 20, 2008 at 23:40 UTC

    I personally believe that it's FSM: His many noodly appendages bring us both global, err... well, tasty, warming and... global warnings from Him who knows better than anything else in the universe what spaghetti code is.

    --
    If you can't understand the incipit, then please check the IPB Campaign.
      Greetings to a fellow Pastafarian!

      I disagree that the FSM is responsible for global warming; he's al dente as he is...

        I personally believe that you're right: "al dente" which is to say tough! As an old Testament's god. Which is not to say He's not also warm, and "smoking" and soo tasty. Oh, and that thing (warnings, warnings!) about spaghetti code! He brings warmth and goodness to this poor world: in fact in a few minutes I'm having a dish of spaghetti as a rite celebrating all this - mind you, I'm Italian (and not terribly proud of it, especially as of late... due to "political" reasons, but in any case:) you can't trick me! ;)

        --
        If you can't understand the incipit, then please check the IPB Campaign.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://723831]
help
Chatterbox?
[Corion]: choroba: Yes, but the longer I thought about efficient hashes mapping the event type back to their callbacks, and how to keep them in sync, the more I thought that all that optimization might just not be worth it, even if it's horribly inelegant
[Lady_Aleena]: My biggest problem with hashes at the moment is one with 2,501 keys.
[choroba]: how many event types are there?
[Corion]: Also I found that I can't conveniently weaken an array slot, which also is inconvenient, as I want my one-shots to disappear if the caller discards them
[Corion]: choroba: Currently two or three that my program handles (WWW::Mechanize:: Chrome), but there might be more that become interesting
[Corion]: But I don't expect more than 100 to be active at the same time, so I'm not really sure if there is a not-too-fancy data structure that is maintained with few lines of code where the performance is better than the linear scan ;)
[Corion]: But I should do a mock-up program so that others can see what I'm talking about ;)
[robby_dobby]: Corion: I hope you know all too well that passing around "fancy" datastructures is a recipe for disaster :-)
[robby_dobby]: As in, it's-too-fancy- that-it-will-be- messy-to-handle
[choroba]: bit vectors as keys?

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2017-05-29 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?