Page 1 of 1

NoOwnerShapes=False makes node addition very slow

Posted: Fri Mar 10, 2006 2:26 am
by 7728099
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

Posted: Sun Mar 12, 2006 11:12 am
by Tom
could you pass me some small code base so I could look for a way in help you find a solution?

Thanks,
tom