michael-jeulinl/Slicer — comment on commit 2346152e852e246877ca039b1a1d26c4d9c4592e
File: Libs/MRMLLogic/vtkMRMLSliceLinkLogic.cxx line 409
By finetjul:

don't use GetNumberOfNodesByClass(), it's too slow.
Use
GetNodesByClassName("my class", myVector);