Inoussa OUEDRAOGO wrote:
Hi

At http://blogs.embarcadero.com/abauer/2009/05/29/38888

This could drastically reduce Lazarus executable size.

Doubt that. Just another feature ported from .NET, the same effect may be achieved by changing property accessor to the function which will check the existence of the instance and create it if needed. You then have an extra check for nil at runtime, *but* it guarantees that whatever initialization order won't shoot you in the foot.

Besides, FPC already has the WPO. Has anyone tried it on Lazarus?

Regards,
Sergei
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to