Oh! Slots are a C# thing- I have a friend I can ask about that.

I asked about this because it is pretty easy to pass objects through a dispatcher without relying on any kind of type checking:

function dispatch( ...rest ):void {
    loop {
        node.listener.apply( null, rest );
    }
}

I implemented a version like that, and if you don't pass anything while dispatching it's extremely fast. I haven't tested passing anything yet, or what happens if the function you "apply" doesn't take the right number or types of arguments...

Kevin N.


On 12/1/11 3:11 PM, Merrill, Jason wrote:
That's my understanding anyway.  I know very little about how slots are done in 
C#, only from what I have read.

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to