I cannot imagine that you would run this more than a few times at runtime. It will never be a problem.
If this is in hot function then you are screwed anyway because implicit/optional stuff is intuitively very bad. I cannot imagine you have a hot function that needs to do this. You are probably establishing classes or modules - you could run a loop for 100000 times additionally and not notice anything.