I finally had time to write another blog post last night. This one is about ripgrep, a fantastic search tool by @burntsushi5:
Fast Searching with ripgrep
https://mariusschulz.com/blog/fast-searching-with-ripgrep …
Super useful when searching for code and when writing codemods!
-
-
And the reason why that's faster is because \b *can* be slow when Unicode mode is enabled (which the default). In some cases, it will prevent the lazy DFA from running. But ripgrep tries to hard to avoid this. Literal optimizations usually drown out any slowness here.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Ah that's quite clever!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.