The difficulty gets periodically adjusted to generate a block roughly every 10 minutes.
It's not really about efficiency as it's about computing power and available miners.
If it's not economically beneficial to mine (costs more than reward) miners will stop mining leading to the difficulty decreasing which in turns makes it profitable to mine again.