On Wednesday 16 November 2005 13:57, Florian Klaempfl wrote: > Daniël Mantione wrote: > > Op Wed, 16 Nov 2005, schreef Vincent Snijders: > >>Daniël Mantione wrote: > >>>What should be done on Linux/FreeBSD/MacOS is still unknown to me, it is > >>>a wild west, but likely something similar, internally a widestring rtl > >>> is used that converts to the right encoding when communicating > >>> externally. > >> > >>Does that mean string operations will be twice a slow? > > > > I don't think so. A string copy operation for a wide string needs to move > > twice as much data as a string copy operation for an ansistring. However, > > when walking through it, (take the widestring version of pos for example) > > the amount of work per character does not change. > > Modern CPUs are memory bandwidth limited usually so widestrings a lot > slower.
But still, only if the string operations are a bottleneck. That might not be the case. -- Regards, Christian Iversen _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel