0
votes
Vote UpVote

On the record initialization/finalization in Delphi

The Programming Works – If a Delphi record type contains managed fields Delphi uses special initialization and finalization routines for the record instances. Unfortunately these routines use some kind of RTTI information and slow; they could be made much faster. I have written a simple benchmark to find out how the built-in record initialization/finalization routines can possibly slow down my BigInteger implementation: program CustomBench; {$APPTYPE CONSOLE} uses SysUtils; type TIRec = record II: IInterface; end; TPRec = record PP: Pointer; end; procedure ITest(const AI: IInterface); var ...
Favorite? Off-Topic? Serg @ 2014-02-04 07:09

Statistics

Visits: 31
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)