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 ...
Visits by Source
Users who voted for this posting
Jørn E. Angeltveit