sverchok icon indicating copy to clipboard operation
sverchok copied to clipboard

Mesh Viewer node

Open Durman opened this issue 2 years ago • 4 comments

Problem statement

In case when number of objects generated by the node is changed the node remove unused ones. It seems it's quite expensive. The problem can be in the implementation itself. If no then probably there is no need to hurry to remove unused objects immediately for sake of the performance.

image

Durman avatar May 25 '22 06:05 Durman

objects could be unlinked when they are no longer updated (should also not be visible anymore), and only remove unlinked objects upon file save. (untested.. maybe that doesn't make much difference to the overhead created by name-collision checking)

zeffii avatar May 25 '22 07:05 zeffii

if that fails.. reluctantly a simple 'hide' works. I used this in early prototypes. It just looks weird.

zeffii avatar May 25 '22 08:05 zeffii

i'm surprised that the Typing is taking up that chunk of time.

zeffii avatar May 25 '22 14:05 zeffii

I think this is because of singledispatch decorator from functools module.

Durman avatar May 25 '22 16:05 Durman