Improved performance of indexing matchers by lazily creating helper objects