Hello, I am developing a program that will read files with many lines of text (perhaps 20 thousand), and to look for a text on each line, hit the text, perform a function.
I have a problem because the files have as many lines, the program will be very slow, but I need to be fast. This program will make sure to look for text in all files, and certainly will be slow.
What can I do? Are there any alternative to this?
(sorry for some mistake, I'm using an online translator)