Isn't that like saying X compiles to assembly as so should be as efficient as assembly?
I'm not an expert on the internals of typescript. But your comment doesn't indicate you are an expert either.
I'm not an expert on the internals of typescript. But your comment doesn't indicate you are an expert either.
But of course, a TypeScript program could be much slower than a different JavaScript program, as is probably happening in this case.
I agree with others that the difference in results between JavaScript and TypeScript makes the quality of this paper highly suspect.
And also whether it's generating less efficient code to satisfy the type safety requirement.