13
votes
Vote UpVote

Speed comparison: Variant, TValue, and TOmniValue

The Delphi Geek – When I read TValue is very slow! at TURBU Tech blog earlier today, I immediately wondered about how fast is TOmniValue (the basic data-exchange type in the OmniThreadLibrary) in regards to Variant and TValue. What else could I do but write a benchmark?! I choose to test the performance in a way that is slightly different from the Mason’s approach. My test does not measure only store operation but also load and (in some instances) add. Also, the framework is slightly different and decouples time-management code from the benchmark. const CBenchResult = 100*1000*1000; //100 millionprocedure ...
Favorite? Off-Topic? gabr @ 2010-03-16 14:29

Statistics

Visits: 1112
Votes: 13
Favorites: 1
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Aleksey Timohin
Alister Christie
Craig Stuntz
Francis Ruiz
jamiei
JC Chu
Jim McKeeth
knight_killer
Mohammed Nasman
Radek
runner
stukelly
xequte
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)