On 21 August 2012 07:10, Ivanko B <ivankob4m...@gmail.com> wrote:
> How about supporting in the RTL all versions of UCS-2 & UTF-16 (for
> fast per-char access etc optimizations) and UTF-8 (for unlimited
> number of alphabets) ?

All "access a char by index into a string" code I have seen, 99.99% of
the time work in a sequential manner. For that reason there is no
speed difference between using a UTF-16 or UTF-8 encoded string. Both
can be coded equally efficient.

-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to