> 
> 
> Any ideas about why NSTreeController’s KVO is taking up so much memory/CPU 
> with bookkeeping? Any suggestions for working around the problem?
> 
I assume that you are using bindings. Looks like  a typical KVO notification 
storm to me.
What works well for adding and updating one or two objects can easily turn to 
sludge for larger object numbers as thousands of KVO notifications are sent.
This isn't bookkeeping - its KVO doing what you asked it to do - telling you 
about every change to your model.

Are you adding your nodes to the NSTreeControllers content while bindings are 
active?
If you build your tree separately and then set the NSTreeController 
content/binding then things should improve drastically.

Hope this helps.

Jonathan

> Thanks,
> Benjamin Rister_______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/jonathan%40mugginsoft.com
> 
> This email sent to jonat...@mugginsoft.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to