Delay Function Alternatives

Hello
Technical spoken:
Using the delay() function is wasting of CPU time.