How to make code more efficient?

Printable View