3 ms·
Depends on different factors, you can't just say one is better than the other. E.g. a function call itself might be quite expensive. It's important to know bot
by erikb 9y ago
Depends on different factors, you can't just say one is better than the other. E.g. a function call itself might be quite expensive.
It's important to know both patterns though, so you are able to choose depending on your situation.