How do you make an app gas-optimal?

Accurately estimating gas costs without a dedicated gas estimation tool can be challenging. For instance, it’s important to note that external function calls typically incur higher gas costs compared to internal function calls. Additionally, we must consider the deployment costs associated with deploying multiple contracts, which can significantly impact the overall expense.

You can find the gas cost for each instruction in beta-4 here