Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Quicker way to compare these 2 strings?

by TimToady (Parson)
on May 19, 2010 at 00:57 UTC ( #840593=note: print w/replies, xml ) Need Help??


in reply to Quicker way to compare these 2 strings?

$matches = ($first ^ $second) =~ tr/\0//;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://840593]
help
Chatterbox?
[Veltro]: How did we get here? Oh yeah, advertisement. So let's get back there. What I ment to say is that I think it is possible to create an algorithm that filters out advertisement
[Veltro]: And yes, maybe your decoder needs the cloud to do so.
[marto]: for sane sources you should be able to do that locally

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2018-05-24 12:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?