[fpc-devel] Unicode support (yet again)
Jonas Maebe
jonas.maebe at elis.ugent.be
Sun Sep 18 16:45:04 CEST 2011
On 18 Sep 2011, at 13:57, Flávio Etrusco wrote:
> One obvious way to mitigate this would be to store the last
> CodePoint->Char in the string record, so that at least the most common
> case is covered.
... and so that the common case is broken in multithreaded environments.
Directly indexing a string will most likely always work using fixed-length steps (8, 16, 32 bit). If you want to iterate based on anything else (such as code points), use some kind of iterator model instead.
Jonas
More information about the fpc-devel
mailing list