[fpc-devel] Optimizing unused return values of inline functions
Michael Van Canneyt
michael at freepascal.org
Mon Aug 21 13:22:09 CEST 2017
On Mon, 21 Aug 2017, Benito van der Zander wrote:
> Hi,
>
>> This pattern is not inherently efficient. Why should it be ?
>
>
> It is not efficient, because of the pointless instruction!
I am not speaking of the current FPC implementation. It may well be that the
code is not most optimal.
I am asking, why do you think *this pattern* (of always returning self) should be inherently more efficient ?
Michael.
More information about the fpc-devel
mailing list