[Lazarus] Mac (or other BigEndian machine) users needed to test new Utf8StringOfChar code
Bart
bartjunk64 at gmail.com
Tue Sep 17 17:25:57 CEST 2013
On 9/17/13, José Mejuto <joshyfun at gmail.com> wrote:
> In most architectures (32 and 64 bits at least) memory moves of less
> than 16 bytes are faster done one by one. Just the call to the function
> kills the possible performance gain.
I thought f performance when calling like Utf8StringOfChare(AnUtf8Char, 32768),
This should perform better if Fill(D)Word can be used I think.
> I had not fully checked you code, but I think you are coding always the
> UTF16 as little endian, and in big endian machines the UTF16 should be
> big endian also.
In my coding (in this thread) there is no UTF16...
Bart
More information about the Lazarus
mailing list