FIS Interview Question

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