To improve runtimes, I am trying to avoid using operators that lead to scene updates.
See here for the background:
Python performance with Blender operators
Finding vertices in a Vertex Group using Blender's Python API
When I know more, I will find a low-level way to avoid the use of the relevant operators.
Do I need to avoid all uses of bpy.ops... or is it only operators that add something new to the scene?
Are there any operators to avoid that are not bpy.ops...
Are there other ways to avoid scene updates, such as using bmesh, other libraries, or explicitly stopping the updates? I would then just have the one scene update when I need it.
Can I avoid scene updates by hiding objects from view? I do not need to see objects being used in Rigid Body physics for collision detection, but perhaps the physics world needs a scene update in every frame!