How to make this method more efficient?

Printable View