任务单 #45487

auto_arrange_workers(): Unnecessary cm_parameter copy

开放日期: 2022-08-28 06:43 最后更新: 2022-10-15 10:52

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
1

Details

auto_arrange_workers() always uses local cm_parameter structure. Therefore it has to copy the parameter from pcity->cm_parameter to that local structure. AFAIK there's no reason not to use pcity->cm_parameter directly in the usual case, only creating a copy if we have to do local modifications.

任务单历史 (3/4 Histories)

2022-08-28 06:43 Updated by: cazfi
  • New Ticket "auto_arrange_workers(): Unnecessary cm_parameter copy" created
2022-10-08 09:49 Updated by: cazfi
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
  • 里程碑 Update from (无) to 3.1.0 (关闭)
2022-10-15 10:52 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名