NoOwnerShapes=False makes node addition very slow
Posted: 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
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