optimized array operations
Denis Koroskin
2korden at gmail.com
Mon Sep 22 19:26:41 PDT 2008
On Tue, 23 Sep 2008 04:48:41 +0400, bearophile <bearophileHUGS at lycos.com>
wrote:
> Denis Koroskin:
>> New hardware - new results (-O -release -inline):
>> length=1
>> _add Time elapsed: 91.212/0 ticks OK
>> _sub Time elapsed: 89.8235/0 ticks OK
>> add Time elapsed: 82.6135/0 ticks OK
>> sub Time elapsed: 84.2032/0 ticks OK
>> mul Time elapsed: 82.8325/0 ticks OK
>> div Time elapsed: 99.2924/0 ticks OK
> ...
>
> I don't understand how to read the timings, are the timings before the
> slash of the current implementation, and the timings after the slash of
> your new code?
>
No, I think that _add/_sub - old version and add/sub/mul/div - new
version, i.e. you should compare _add and _sub against add and sub
respectively.
More information about the Digitalmars-d-announce
mailing list