チケット #44611

Optimize some heavy MAX() and MIN() uses

登録: 2022-05-15 15:02 最終更新: 2022-07-05 04:55

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
3

詳細

We have some MAX() and MIN() uses where one of the parameters is relatively heavy to evaluate AND such that the compiler cannot optimize away the need to do the full evaluation twice (a function call of which compiler does not know that it will return the same value both times, and has no side-effects)

Move such heavy evaluations outside the macros, to do them only once.

チケットの履歴 (7 件中 3 件表示)

2022-05-15 15:02 更新者: cazfi
  • 新しいチケット "Optimize some heavy MAX() and MIN() uses" が作成されました
2022-05-29 06:46 更新者: cazfi
2022-06-26 20:22 更新者: cazfi
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法なし から 受領 に更新されました
コメント

For master I went through all MAX() and MIN() uses for candidates to change. For older branches I just ported those same changes, not checking if there would be additional candidates in them - except for porting gtk3.22-client changes to older gtk-clients supported only in older branches.

2022-07-05 04:55 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

編集

このチケットにコメントを追加するには、ログインが必要です » ログインする