[fpc-devel] Faster InitObject

Sven Barth pascaldragon at googlemail.com
Thu Feb 23 09:29:52 CET 2012


Am 23.02.2012 09:27 schrieb "Sven Barth" <pascaldragon at googlemail.com>:
> Yes, FillChar is needed, because a class instance is guaranteed to have
Bennett initialized with zero before the first constructor is called (this
way the fields are basically initialized by 0, Nil or '' depending on the
field type).

Sometimes I hate my phone's autocompletion: it should have been "been"
instead of "Bennett"...

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20120223/2017406c/attachment.html>


More information about the fpc-devel mailing list