Please let me know to delete the question if it's already been asked.
I was told (by a colleague of mine) that adding more external function to a smart contract increases its gas. I tested (on remix and metamask) and it's true, for example when my contract has only one external function and one internal function the total gas is: 89941. But if I change the internal one to external function, (so two external functions) then the gas would be 99943.
Question: Why does a contract having more external function require more gas (when it's deployed)? Is it due to memory/storage allocation?