Tíquete #45487

auto_arrange_workers(): Unnecessary cm_parameter copy

: 2022-08-28 06:43 Última Atualização: 2022-10-15 10:52

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
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
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
  • Marco Update from (Nenhum) to 3.1.0 (fechado)
2022-10-15 10:52 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login