Text this: Optimizing OLAP heterogeneous computing based on Rabin-Karp algorithm