2018-04-30 15:05 GMT+02:00 Mattias Gaertner <[email protected]>:

> 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
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to