In our previous episode, Michael Schnell said: > > The comparison in the UTF-8 string example is very questionable. First > > ch(i) is not equivalent to ch, not even closely related, and the claim > > of O(N^2) operations deserves an proof - IMO it's simply wrong. > > With UTF-8 strings and friends would it not be appropriate to have the > loop variable be a string containing the multiple bytes of the Unicode > character ?
No, since that wouldn't describe the position of that char in the string that is being iterated. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel