Ticket #45487

auto_arrange_workers(): Unnecessary cm_parameter copy

오픈 날짜: 2022-08-28 06:43 마지막 업데이트: 2022-10-15 10:52

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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.

Ticket History (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 (None) to cazfi
  • Resolution Update from None to Accepted
  • Milestone Update from (None) to 3.1.0 (closed)
2022-10-15 10:52 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login