On 19 Sep 2011, at 09:36, Marco van de Voort wrote: > I don't like the Java/C# way that you have to manually allocate extra > objects (stringbuilders etc) to get(performant) access to the characters > though.
In Java that's only the case for changing characters. Reading characters happens via a simple accessor and since the java.lang.String class is final it can be inlined from the start without any problems. Jonas_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel