[Chandler-dev] Getting rid of all __init__ methods (for Item subclasses)

Andi Vajda vajda at osafoundation.org
Thu Mar 22 13:09:48 PST 2007


On Thu, 22 Mar 2007, Grant Baillie wrote:

> I think, but am not 100% sure, the reindexingDeferred() is dangerous, since 
> setting attributes (in general) can cause reindexing of FilterCollections 
> that depend on those attributes.

reindexingDeferred() only affects index monitors, that is, monitors that 
maintain the sort order of sorted indexes. Filter monitors, on the other hand, 
monitor changes affecting item membership, ie, when an item changes, it could 
be joining or leaving or doing nothing to a filter collection. Disabling 
reindexing only affects filter monitors that run user code that accesses 
currently invalid sorted indexes, in other words, it doesn't affect filter 
monitors any more than anything else.

Andi..


More information about the chandler-dev mailing list