Re: [Flashcoders] Singleton lookups vs Events ...

2008-09-03 Thread Mark Winterhalder
Performance optimization is nice and all, but... how often will that happen in a frame? Once? A few hundred times? Then go with whatever is the easiest to understand, because you're still at fractions of a milisecond. Try it -- just time how long it takes to call a getInstance method a few thousand

Re: [Flashcoders] Singleton lookups vs Events ...

2008-09-03 Thread eric e. dolecki
*I like events - but I am no computer scientist. Events allow flexibility. * On Wed, Sep 3, 2008 at 9:16 AM, S0 F1 <[EMAIL PROTECTED]> wrote: > Any thoughts on whether it's more efficient (in terms of development and > player performance) to use Singleton's (with static public 'getInstance' or >

RE: [Flashcoders] Singleton lookups vs Events ...

2008-09-03 Thread Merrill, Jason
M To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Singleton lookups vs Events ... Any thoughts on whether it's more efficient (in terms of development and player performance) to use Singleton's (with static public 'getInstance' or such) instead of Event'

Re: [Flashcoders] Singleton lookups vs Events ...

2008-09-03 Thread Paul Andrews
- Original Message - From: "S0 F1" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 03, 2008 2:16 PM Subject: [Flashcoders] Singleton lookups vs Events ... Any thoughts on whether it's more efficient (in terms of development and player performance) to use Sin

[Flashcoders] Singleton lookups vs Events ...

2008-09-03 Thread S0 F1
Any thoughts on whether it's more efficient (in terms of development and player performance) to use Singleton's (with static public 'getInstance' or such) instead of Event's when developing mid-sized applications? (for classes that *are* Singleton's of course). Asking this in regards to when you kn