https://www.appclonescript.com/java-code-efficiency-best-practices-and-techniques/