チケット #46447

calc_activity() optimizations

登録: 2023-01-04 16:35 最終更新: 2023-01-17 00:09

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

詳細

activity_type_iterate() loop in calc_activity() does tile_activity_time() & stuff "1 + num_extras * 2" times for every activity, when it could be just 1 for activities that are not about extras, and num_extras for activities that are about them.

It also memset() to zero what it had allocated with fc_calloc(), already giving zeroed memory.

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

2023-01-04 16:35 更新者: cazfi
  • 新しいチケット "calc_activity() optimizations" が作成されました
2023-01-04 16:35 更新者: cazfi
  • 詳細が更新されました
2023-01-04 16:40 更新者: cazfi
コメント

This is required for #46448, and should be implemented so that it gets enabled.

2023-01-10 09:18 更新者: cazfi
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法なし から 受領 に更新されました
  • マイルストーン(未割り当て) から 3.1.0-beta1 (完了済み) に更新されました
コメント

Not targeting to S3_0, as Irrigate and Mine having both targeted and targetless forms there might not work well together with this change, and usually client-side performance issues are not that critical.

2023-01-17 00:09 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

添付ファイルリスト

編集

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