the one with 50 is the oldest piece of code but even with the delay its faster.
It's faster than the code with the 0 value.
Doesn't that tell you anything? Here. Here's a clue by four. Smack yourself with it a couple of times. Then, change the 0 to something else OR delete the delay() call. Your choice, but do something or quit whining.