in reply to Fast Identification Of String Difference
I do realize that you have to keep track of which "quad" you are comparing so that your position comes out right but this is hardly significant. Even comparing 5 characters at a time is less than 10 million parings so depending on your memory constraints you may not be limited to quads. Of course, if your strings can have more than 5 characters at each position you will have to do fewer at a time.
If you need an implementation of this, let me know but I think it should be fairly obvious.
Cheers - L~R
|
|---|