Ticket #45542

Avoid advance_count() calls in advance_index_iterate() within outer iteration

Eröffnet am: 2022-09-01 10:33 Letztes Update: 2022-09-24 15:34

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

Something that came out while looking at #45541: advance_count() in advance_index_iterate() is often called repeatedly as advance_index_iterate() itself is used repeatedly.

Changing that would both be a minor optimization (removal of the funcfion call overhead) and make compiler and other tools better able to analyze the code (now they have to be prepared to the possibility that consequtive advance_count() calls return different results)

Ticket-Verlauf (3/5 Historien)

2022-09-01 10:33 Aktualisiert von: cazfi
  • New Ticket "Avoid advance_count() calls in advance_index_iterate() within outer iteration" created
2022-09-05 08:05 Aktualisiert von: cazfi
  • Meilenstein Update from (Keine) to 3.2.0
2022-09-18 13:12 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
2022-09-24 15:34 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden