BHoM / BHoM_UI

GNU Lesser General Public License v3.0
9 stars 6 forks source link

Explode of custom objects take really long time to delete #478

Closed IsakNaslundBh closed 10 months ago

IsakNaslundBh commented 3 years ago

Putting this as a question/bug, as not sure what is going on..

The explode component takes a really long time to delete from the GH canvas for custom objects if you have many of them.

Can understand that the creation of the explode might take some time, as it requires to check all the custom data etc, but do not fully understand why it takes long time to delete.

For a simple script like the below, it takes 16 seconds to just delete the explode (literally selecting it and hitting the delete key).

image

The custom objects are ofc really useful to help with grouping and filtering, and have recently been trying to do that with results, where you easily can end up with millions of datapoints. Have hade the script freezing for quite some time after I decided to delete some explode in some of those scripts. There is always a workaround by using GetProperty instead (which I have resorted to to avoid the issue), but good to understand what is going on

adecler commented 1 year ago

tested in January 2023 and I can confirm this is still an issue