A single countermeasure would be to run various procedures in parallel. Procedures such as feature extraction, which can be the preprocessing of your matching approach, are somewhat ideal for parallelization. Working with multicore CPUs for processing, solitary instruction multiple knowledge (SIMD)