that's a really clever trick to write to out[n] multiple times but only move the index after the logical condition is true thus ending up with the correct values in out
that's a really clever trick to write to out[n] multiple times but only move the index after the logical condition is true thus ending up with the correct values in out