Derailer systems only absord energy in the chain and bearings, and a well maintained system can maybe lose 1.5% of energy. Internal hub gearing can lose around 15% energy.
The shop keeper won't tell you this, he just wants to sell you a bike. If he starts talking difficult things, buyers might just go to the next shop to buy what they had already chosen.