8
votes
Vote UpVote

TValue is very slow!

TURBU Tech – Delphi 2010’s help describes TValue, used by the RTTI unit to store values of arbitrary types, as “a lightweight version of the Variant type.” I saw that and it made me wonder, how lightweight is it? How fast is using TValue? Thankfully, among D2010’s lesser-known new features is the Diagnostics unit, which gives us TStopwatch, a simple record for timing operations. That makes it very easy to write a simple speed test. I was expecting TValue to be about equal to Variant, or maybe a little bit faster. So I wrote up the following app: program Project1; {$APPTYPE ...
Favorite? Off-Topic? Mason Wheeler @ 2010-03-15 22:07

Statistics

Visits: 1250
Votes: 8
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Aleksey Timohin
Francis Ruiz
Mohammed Nasman
Primoz Gabrijelcic
runner
stukelly
Tier777
vcldeveloper
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)