Информация об изменениях

Сообщение Re[2]: Bug report to MS от 19.08.2017 9:43

Изменено 19.08.2017 9:45 Serg27

Re[2]: Bug report to MS
Здравствуйте, Serg27, Вы писали:

S>Я не поленился и сделал bug report — connect.microsoft.com

S>Предмет бага — разный уровень оптимизации для очень близкого кода. Посланный код основан на rsdn
Автор: Serg27
Дата: 11.03.17


ну вот прошло 5 месяцев и пришел ответ:

Thanks for the great bug report. I looked into the issue, and it turns out that the sin function call in fun1 is being hoisted out of the innermost loop, while that's not happening in the case of fun2. This explains the performance difference.

We will keep looking further into the reasoning and send out an update.

Thanks,
Amit

Возможно поправят оптимизацию, раз баг дошел до разработчика...
Re[2]: Bug report to MS
Здравствуйте, Serg27, Вы писали:

S>Я не поленился и сделал bug report — connect.microsoft.com

S>Предмет бага — разный уровень оптимизации для очень близкого кода. Посланный код основан на rsdn
Автор: Serg27
Дата: 11.03.17


ну вот прошло 5 месяцев и пришел ответ:

Thanks for the great bug report. I looked into the issue, and it turns out that the sin function call in fun1 is being hoisted out of the innermost loop, while that's not happening in the case of fun2. This explains the performance difference.

We will keep looking further into the reasoning and send out an update.

Thanks,
Amit

Возможно поправят оптимизацию, раз баг дошел до разработчика...
Спасибо тем, кто "лайкнул" этот баг у них на сайте — иначе бы вообще руки не дошли.