Control a lot of RGB LEDs with TLC5940

kass:
The flickering code is:

for(LED led in _leds)

{
    Tlc.clear();

Tlc.set(led.redChannel, 4095);
    Tlc.set(led.greenChannel, 4095);
    Tlc.set(led.blueChannel, 4095);

Tlc.update();
}

How is that the same as my suggestion?

Tlc.clear();
for each LED
     Tlc.Set(...); // set color for the current LED
endfor
Tlc.update();