Compressed Computation for Text Indexing