Jul 2, 2013, 3:21 PM
Post #8 of 8
Re: [anglaissam] Effecient regex search of multiple files.
[In reply to]
For all i know, there is no way to make this code more efficient.
Sure it can be made more efficient. More efficient in terms of coding complexity, and more efficient in terms or performance speed.
Loading a file into an array and then reading the array is less efficient that reading a file line by line.
But I already told you. If you don't want to believe me, do what you want and make your own tests (and don't worry, I do not feel offended).