On Fri, 31 Aug 2012, Amir wrote:
Hi,
I was profiling my code, that I noticed that there are about 2M calls to
fpc_ansistr_unique function (5% of the CPU time). I could not find any
reference to what this function does and/or who calls this function. I
appreciate any help in this regard.
It makes sure that the reference count of the string is 1, making a copy if
necessary.
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel