Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Fast Identification Of String Difference

by FunkyMonk (Chancellor)
on Jan 18, 2011 at 01:41 UTC ( [id://882790]=note: print w/replies, xml ) Need Help??


in reply to Fast Identification Of String Difference

the string can be longer than this
How long? The string length makes a huge difference in runtime.

But it is horribly slow
Define slow. Slow to some people might be really quick to others.
Typically I need to compare millions of such pairs
How many millions? 1, 10, 100, 1,000? It all makes a difference.

I think you need to show your code and some realistic data. I have basic substr-based code that will process your example data 100k+ times a second.

That, to me, is fast

  • Comment on Re: Fast Identification Of String Difference

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2024-04-19 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found