Optimize the num_lines_since_last_match count, move to FileScanner base class
gvansickle opened this issue · comments
See the "/// @todo Optimize this count."'s in FileScannerPCRE.cpp and FileScannerPCRE2.cpp. These loops end up taking a surprising amount of CPU even after gcc's optimizations. Make this a base-class member and optimize it.