Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Fast Identification Of String Difference

by chrestomanci (Priest)
on Jan 17, 2011 at 10:35 UTC ( #882642=note: print w/replies, xml ) Need Help??


in reply to Fast Identification Of String Difference

Considering how simple your problem is, and the fact that you want maximum speed, have you considered re-writing in C, or another fast compiled language.

In the past when I was working on image processing problems, I often saw a program run take an hour or more in perl, but only take a minute or so when re-coded in C. In my case, the typical problem was to take some bitmap images representing 1080p frames of uncompressed video, and convert them from RGB to YUV or suchlike, and them output them as ASCII text listing pixel values.

  • Comment on Re: Fast Identification Of String Difference

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://882642]
help
Chatterbox?
[Discipulus]: my backpack is ready for two nights in the mountains!
[Corion]: Discipulus: In the mountains during winter?
[choroba]: SHAttered
[Discipulus]: yes but in a little house with fireplace; 2 friends and lot of beverages..
[Corion]: Discipulus: Aah, so it's not really walking through quick-changing weather

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-02-24 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (353 votes). Check out past polls.