Optimizing Similarity Computations for Ontology Matching