Perhaps if I am a bit less verbose.
1. is having a few thousand watch listeners active on a few hundred
object realistic?
2. Is there any way to figure out whether there is a watchlistener
active on a given property of a given object?
Thanks,
Peter
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pgp.coppens
Sent: Tuesday, March 20, 2007 11:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ChangeWatcher question
Flex community,
Would someone be willing to help out with the following two questions I
have.
1. I need to keep track of a number of properties (about 20 per
object) of a large number of objects (hundreds to thousand range). I
can either use an army of ChangeWatcher instances or add some code to
the set method for each of these properties. I like the idea of using
independent changewatchers but I am not sure what the
performance/memory penalty is going to be. Has anyone some guidance?
2. Is it possible to figure out, given an object instance and a
property name, whether a ChangeWatcher is active? If so, how would
that work? Or do I have to keep track of all ChangeWatcher.watch
instances that get created.
Thanks!
Peter