DEV Community

loading...

Discussion on: The algorithm behind Ctrl + F.

Collapse
akhilpokle profile image
Akhil Author

I am not sure about its speed in python, maybe StackOverflow might help with that but overall regex are faster for dynamic situations like finding all phones numbers and algorithms might be faster for finding a particular phone number in a record of million phone numbers.