Skip to content

Faster searching strategies? #1985

Answered by BurntSushi
Ch0ronomato asked this question in Q&A
Discussion options

You must be logged in to vote

Without a full reproduction, it's hard to say, but why not ask ripgrep to search for all things simultaneously? e.g.,

$ for ip in 10.11.{128..255}.{0..255}; do
  echo $ip >> patterns
done
$ rg -F -f patterns

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants