based on algorithm from cursor team: https://cursor.com/blog/fast-regex-search
now it kind of sounds the same as other tools (for ppl like me who dont by heart know all these algos)
https://github.com/PythonicNinja/trigrep/commit/ca64fd81a6d8...
Will compare grep vs rg vs trigrep against git source code.