Applied performance optimization for SVMLocalClassifier too.