At this point TS is a turing complete language.
Complaining that you have to tune it for performance is like complaining that your runtime code isn't automatically maximally performant without a little tuning.
Complaining that you have to tune it for performance is like complaining that your runtime code isn't automatically maximally performant without a little tuning.