Delete Vertices - Slow on not very big mesh

grasshopper
performance
optimization

#1

Hi all,

I just wanted to ask if anyone found Delete Vertices native component slow in cases with low number of vertices. It’s true that I’m culling most of the mesh vertices (from a 300k vertex mesh), and probably reconstructing the mesh with the kept vertices and the faces data would make it faster. Right now the execution is taking 1 min.


(David Rutten) #2

This method has been implemented in the RhinoCommon SDK and it looks as though certain optimizations are possible. I’ll see what I can do.


(David Rutten) #3

I got my testcase down from 2 minutes to <5 seconds, and that’s on a Debug build. This should be working faster once the next WIP goes out.


#4

Thanks @DavidRutten for the fast reply! It looks like we found something interesting here. I will test the next WIP (but for work probably I will keep using the V5 old version).