Fast and compact matching statistics analytics