Having used this approach in a few languages, I agree that it's (sometimes) (much) better for performance, but it tends to wreak havoc on readability.
But the parent was suggesting that metaprogramming could make readability issues go away and I can't wrap my head around how it would do that.