Ticket #45487

auto_arrange_workers(): Unnecessary cm_parameter copy

Date d'ouverture: 2022-08-28 06:43 Dernière mise à jour: 2022-10-15 10:52

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
1

Détails

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
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
  • Jalon Update from (Aucun) to 3.1.0 (atteints)
2022-10-15 10:52 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion