[fpc-devel] What's the status of Maciej's Smart Pointer enhancements?

Maciej Izak hnb.code at gmail.com
Mon Apr 30 15:29:26 CEST 2018

2018-04-30 15:05 GMT+02:00 Mattias Gaertner <nc-gaertnma at netcologne.de>:

> Does that mean fpc 3.0.x had an unneeded overhead for classes without
> managed types and 3.1 fixes this?

No, small unneeded overhead exist in both.

The situation is different when managed types are used. FPC has similar
solution for RTTI like Delphi. FastRTTI (not merged yet into trunk) is
something new (optimized layout of RTTI). In the short all managed fields
are initialized in one call instead of recursion (one call to
FPC_INITIALIZE instead of many calls). It saves many of
initialization/finalization time.

Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20180430/23952c18/attachment.html>

More information about the fpc-devel mailing list