13
votes
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 ...
Statistics
|
Visits by Source |
User Actions |



