[fpc-pascal] Re: UnicodeString comparison performance

OBones obones at free.fr
Mon Jul 23 10:58:24 CEST 2012


leledumbo wrote:
> I look at the generated code and in the direct one there's additional
> overhead of decrementing the reference counter on each iteration.
I see it too now (I forgot about the -a option).
I can understand why there is a call to the decrementer outside the loop 
when using the variable, but I don't understand why it pushes it 
completely out of the loop. I mean, isn't there a reference count 
problem here?
This is all very strange to me...



More information about the fpc-pascal mailing list