[fpc-devel] Optimizing unused return values of inline functions
Sven Barth
pascaldragon at googlemail.com
Mon Aug 21 21:37:34 CEST 2017
On 21.08.2017 21:15, Marco van de Voort wrote:
> In our previous episode, Sven Barth via fpc-devel said:
>>> I am asking, why do you think *this pattern* (of always returning self)
>>> should be inherently more efficient ?
>>
>> The pattern definitely has its uses. E.g. in the user space of our
>> operating system at work we have a StdOutPrinter class that is used like
>> this:
>
> No need to look so far, just look at TV/FV dialog construction.
I've never really worked with TV/FV, so I can't use that as an example ^^'
Regards,
Sven
More information about the fpc-devel
mailing list