[fpc-pascal] Efficient String concatenation

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Oct 29 18:32:47 CET 2013

On 29/10/13 18:17, John Lee wrote:

> On 29 October 2013 13:22, Graeme Geldenhuys <graeme at geldenhuys.co.uk> wrote:
>> This is a very impressive little blog about efficient string concatenation
>> in Delphi. But it also applies to Free Pascal.
>> http://www.delphitools.info/2013/10/28/efficient-string-concatenation-in-delphi/

 > Did you try any other fpc compiler optimisation settings? No expert, but
 > looks like it isn't too difficult for compiler to spot this.

It may indeed be possible to handle this in the compiler.

 > What about llvm - (coming soon to fpc apparently) - would that fix it?

Not in the least. "soon" is also a gross overstatement.


More information about the fpc-pascal mailing list