[Lazarus] What is the most efficient construction?

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jul 28 14:09:14 CEST 2024



On 7/28/24 13:44, Arí Ricardo Ody via lazarus wrote:
>[...]
> Between the construction:
> 
> For i := 0 to list.Count - 1 do

In FPC the for-loop differs from a while-loop, as the for-loop fetches 
the start and end value only once.

Mattias


More information about the lazarus mailing list