Incidencia #45542

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

Abrir Fecha: 2022-09-01 10:33 Última actualización: 2022-09-24 15:34

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Hito:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
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 History (3/5 Histories)

2022-09-01 10:33 Updated by: cazfi
  • New Ticket "Avoid advance_count() calls in advance_index_iterate() within outer iteration" created
2022-09-05 08:05 Updated by: cazfi
  • Hito Update from (Ninguno) to 3.2.0
2022-09-18 13:12 Updated by: cazfi
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2022-09-24 15:34 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Entrar