Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: A fast way to do this?

by davido (Cardinal)
on Jul 13, 2014 at 23:52 UTC ( [id://1093480]=note: print w/replies, xml ) Need Help??


in reply to A fast way to do this?

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1093480]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-19 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found