3 ms·
To-may-to, to-mah-to. That doesn't answer what I was asking. Fact: type checking is disabled during runtime. Why would one assume that Typescript somehow solv
by EvanPlaice 11y ago
To-may-to, to-mah-to. That doesn't answer what I was asking.
Fact: type checking is disabled during runtime.
Why would one assume that Typescript somehow solves speed issues? It has no measurable impact on runtime performance.
- tlrobinson 11y agoI was addressing the second part of your comment. TypeScript is a static type checker. It operates at compile time. There is nothing to "disable" at runtime. But yes, regarding your original question, you are correct, aggressive optimization is a non-goal of TypeScript. It won't improve performance.