Coroutine Wrap vs Delay

So I have a loop and it has yielding code, but I don’t want it to yield on each iteration. What should I use?

coroutine.wrap or delay(0, function()

I heard that the latter waits roughly 30 ms. Is there anything for instantaneous?

spawn and coroutine are the fastest. spawn waits max 30ms. Not sure about coroutine. You could indroduce a loop inside it? Anyways lua is always going to wait some ms regardeless of anything. If you need something for animations derive the animation state from tick()

coroutine.wrap(f)() stars running instantly where Roblox alternatives like spawn(f) and delay(0, f) have about 29ms delay before they start running.