I guess that all depends on what the goal of the scoring is (it hasn't been stated by the original poster yet... :-) ).
I assume that the goal has something to do with determining how 'close' two words are to each other. "aabcc" and "abbbc" are "5 close" according to the algorithms described. "aabcc" and "abc" are also "5 close". Is this still expected?
In reply to Re: Re: Re: Re: Optimizing a string processing sub
by MarkM
in thread Optimizing a string processing sub
by spurperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |