[EMAIL PROTECTED] wrote:
> I'm disappointed to hear that. it ought to compare string lengths
> first at least. I guess I should make a suggestion for a future
> version.

It actually looks like it does compare string lengths, but then goes char for char after that:

>            if (n == anotherString.count) {
>               char v1[] = value;
>               char v2[] = anotherString.value;
>               int i = offset;
>               int j = anotherString.offset;
>               while (n-- != 0) {
>                   if (v1[i++] != v2[j++])
>                       return false;
>               }
>               return true;
>           }

Cory

_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to