How big are the files? How often are you processing such files? How many of them are there? How tight is the time constraint on arriving at a result? How often do they change?
In short, what problem are we really solving?
There is no silver bullet when it comes to ascertaining where a given character or pattern is found within a file; one must look at the file's contents to find out. But if we knew more about the problem we're trying to solve, we might be able to come up with sensible and efficient solutions.
Dave
In reply to Re: A fast way to do this?
by davido
in thread A fast way to do this?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |