D Mir: standard deviation speed

9il ilyayaroshenko at gmail.com
Wed Jul 15 07:51:31 UTC 2020


On Wednesday, 15 July 2020 at 07:34:59 UTC, tastyminerals wrote:
> On Wednesday, 15 July 2020 at 06:57:21 UTC, 9il wrote:
>> On Wednesday, 15 July 2020 at 06:55:51 UTC, 9il wrote:
>>> On Wednesday, 15 July 2020 at 06:00:46 UTC, tastyminerals 
>>> wrote:
>>>> On Wednesday, 15 July 2020 at 02:08:48 UTC, 9il wrote:
>>>>> [...]
>>>>
>>>> Good to know. So, it's fine to use it with sum!"fast" but 
>>>> better avoid it for general purposes.
>>>
>>> They both are more precise by default.
>>
>> This was a reply to the other your post in the thread, sorry. 
>> Mir algorithms are more precise by default then the algorithms 
>> you have provided.
>
> Right. Is this why standardDeviation is significantly slower?

Yes. It allows you to pick a summation option, you can try others 
then default in benchmarks.


More information about the Digitalmars-d-learn mailing list