Relative independence of odbs: IndexedCollection, the update problem

Avi Bryant avi at beta4.com
Thu Sep 30 20:53:16 UTC 2004


On Sep 30, 2004, at 10:15 PM, Sebastian Sastre wrote:

>
> 	In your previous email you said that the system can know wich
> methods modify a defined instVar by scanning the bytecode. As I never
> make somethig like that I ask you to explain me a little more about
> this.

Probably the easiest is to use Behavior>>whichSelectorsStoreInto:.  It 
only does the search for a specific inst var, but you can either send 
it once for each inst var in the class, or modify it to search for any 
stores (which would be faster).

Avi




More information about the Squeak-dev mailing list