Follow

Finally installed ripgrep today - christ this is fucking fast!

@aras
And 2 minutes later: wait, why are some other tools an order of magnitude slower?? 🤔
@sheredom

@aras
Yeah, but, why.doesn't that blog post shame every other tool implementor into using those same techniques? If I was maintaining grep or ag, I wouldn't sleep until I was at least on the same ballpark in speed as rg 🤷
@sheredom

@jon_valdes @aras I mostly agree, but there are always tradeoffs. Like my JSON lib (github.com/sheredom/json.h) isn't as fast as some others, but it has a TON more functionality that requires significant extra branching. Might just be that tradeoff here? (but either way, use ripgrep its amazing).

Sign in to participate in the conversation
Gamedev Mastodon

Mastodon server focused on game development and related topics.