NoOwnerShapes=False makes node addition very slow

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
JackLeslie
Newbie
Newbie
Posts: 20
Joined: Sat Oct 04, 2003 4:00 am

NoOwnerShapes=False makes node addition very slow

Post by JackLeslie » Fri Mar 10, 2006 2:26 am

Context .. displaying a list of files and folders as a tree. This list does not come immediately from a findFirst/FindNext but is a list of paths stored in a file.

From simulations I find that setting NoOwnerShapes to true makes node addition very slow, but in order to save the tree to a native ttr file I need this setting to be true.

A lot of the time taken seems as if it might be in the search for a unique node name .. is there a way I can short circuit that by supplying a unique name (simply the sequence number with which the node is added) ?

Or is there a way of setting OwnerShapes at save time? ie build with NoOwnerShapes and then later assigning OwnerShapes

thanks

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Sun Mar 12, 2006 11:12 am

could you pass me some small code base so I could look for a way in help you find a solution?

Thanks,
tom

Post Reply