Lots of items in an NSOutline view.
Lots of items in an NSOutline view.
- Subject: Lots of items in an NSOutline view.
- From: Stefan Pantos <email@hidden>
- Date: Wed, 21 Dec 2005 12:06:33 +0000
Hi,
I've been trying to put 200'000 elements into a NSOutline view.
Each element contains at least one leaf an no tree nodes. I'm using a
binding from an NSTreeController. I've specified a isLeaf method so
that it doesn't have to request the nodes contents to find out if it
a node or not. But it's super slow and uses a huge amount of memory.
Using the same data but displaying it in an NSTable ignoring the
objects it contains works very quickly. All the tree nodes in the
Outline view are collapsed so I see no reason why it should be
accessing them. If I just add say 10 elements it's fine so it does
seem to be doing the correct thing.
Could it be because I'm using an NSTreeController? Or is there
something that I'm missing.
Thanks,
stefan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden