[fpc-devel] Re: enumerators

Marco van de Voort marcov at stack.nl
Mon Nov 15 11:40:33 CET 2010

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.

More information about the fpc-devel mailing list