Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Searching in binary files

by zentara (Archbishop)
on Dec 15, 2005 at 12:54 UTC ( [id://516940]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Searching in binary files
in thread Searching in binary files

The advantage is that the regex you are running over the sliding binary chunks will be smaller, and (I think) therefore faster. So I figured it would be more efficient on big files. If it's a really big file, most chunks won't match, so why test a regex string of length 1000, when a test on length 250 will give a quick "sniff", indicating whether you should dig deeper at that general area.

But as always, I defer to your greater experience and wisdom. :-)


I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^4: Searching in binary files
by BrowserUk (Patriarch) on Dec 15, 2005 at 12:59 UTC
    But as always, I defer to your greater experience and wisdom. :-)

    All I've got in abundance is age!


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-24 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found