jonas wrote
'
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.
'
What's the size/difficulty of compiler spotting this? Suppose it needs to
be able to 'look ahead' by few statements  - which I'd thought it does
already to some extent.

Think I saw email where you said 'few' months - that is soon in context of
fpc and even more in the context of significant fpc changes, so not 'gross
overstatement'!

John



On 29 October 2013 17:32, Jonas Maebe <jonas.ma...@elis.ugent.be> wrote:

> On 29/10/13 18:17, John Lee wrote:
>
>  On 29 October 2013 13:22, Graeme Geldenhuys <gra...@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/<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.
>
>
> Jonas
>
> ______________________________**_________________
> fpc-pascal maillist  -  
> fpc-pascal@lists.freepascal.**org<fpc-pascal@lists.freepascal.org>
> http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal>
>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to