8 ms·
I wrote something very similar many years ago. I described it as a reverse search index. The queries/regex gets indexed into a search tree and then text is run
by reza_n 7y ago
I wrote something very similar many years ago. I described it as a reverse search index. The queries/regex gets indexed into a search tree and then text is run thru it. It supported hundreds of thousands of parallel regex searches. I called it dClass:
https://github.com/TheWeatherChannel/dClass https://github.com/TheWeatherChannel/dClass