Antoine Poinsot 00897d0677
script: actually trigger the optimization in BuildScript
The counter is an optimization over calling `ret.empty()`. It was
suggested that the compiler would realize `cnt` is only `0` on the first
iteration, and not actually emit the check and conditional.

This optimization was actually not triggered at all, since we
incremented `cnt` at the beginning of the first iteration. Fix it by
incrementing at the end instead.

This was reported by Github user "Janus".
2022-07-26 13:02:48 +02:00
..
2022-07-20 15:34:36 +02:00
2022-07-20 15:34:36 +02:00
2022-07-20 15:34:36 +02:00
2022-07-20 15:34:36 +02:00
2022-06-27 16:47:48 -04:00