Pregunta de entrevista de FIS

Explain how a function would be better written with the current performance issues of ti.