[Pharo-project] is there a way to know whether an object is registered to an announcer?

csrabak at bol.com.br csrabak at bol.com.br
Sat Apr 23 19:48:41 CEST 2011


Is the expected number of registered objects be such that for present platform performance the O(n) worst case time to know the answer is OK?
 
my 0.019999...

--
Cesar Rabak


Em 23/04/2011 07:58, Stéphane Ducasse < Stephane.Ducasse at inria.fr > escreveu:
hi guys


is there  a way to know whether an object is registered to an announcer?

I propose

isRegistering: anObject

 registry subscriptionsOf: anObject  do: [:each | ^ true].
 ^ false



stef
 



More information about the Pharo-project mailing list