4
votes
Vote UpVote

Introducing TRefCountedObject

DelphiTools – DWScript source code recently introduced a newcomer: TRefCountedObject. This base class takes the place of TObject in dwsUtils, and is now present throughout the DWScript code. What it adds is, well, a manually reference-counted class. If you’re not interested in the DWScript internals, you just need to know it allowed to achieve a 5% to 25% reduction in compiled scripts memory usage (depending on what a script does), along with a minor speedup in script execution speed, at the cost of a minor compile slowdown (which should disappear once I improve the current hash table approach). Using ...
Favorite? Off-Topic? Eric @ 2012-07-09 07:57

Statistics

Visits: 595
Votes: 4
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Ericc
Jørn E. Angeltveit
Primoz Gabrijelcic
Zzzzz
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)