Let's say, there's a contract with timelock or vesting. In it there's a condition that check whether or not the right time has come, in order to release some tokens to some people. But said condition is getting checked everything second, sometimes every minute.
And there may be millions contracts on Ethereum that have such functionality.
How does these timing or vesting mechanisms work from the point of view of miners and validadators? Does EVM, of each miner or validator, work in such a way that it a) iterates over all the contracts on the blockchain, b) every second, and, in regards to timing/vestings contracts, if EVM encounters those, it c) executes them?
If so, to me it seems like a very expensive operation.
And if so, is there any low limit of how often something can be executed? Can there a contract with timing of 0.1 second? And would it work properly?