drop() slow performance

I have to drop thousands of vertex ids from the graph, and .drop().iterate() takes like 1 minute for each vertex.

Seems like it is gonna take ages for my task to complete.
Is there any other quicker way to achieve this? like a bulk drop operation?
Was this page helpful?