niieani / typescript-vs-flowtype

Differences between Flowtype and TypeScript -- syntax and usability
MIT License
1.74k stars 78 forks source link

TypeScript speed does not "continue to be fast regardless of the size of the project" #16

Closed bcherny closed 7 years ago

bcherny commented 7 years ago

See https://github.com/Microsoft/TypeScript/issues/13538

niieani commented 7 years ago

The note regards only type-checking time, not transpilation time (since Flow is not a transpiler). It's a valid point though, we should clear it up.

Naturally, the total speed is going to go down with the size of the project, though the relation is more like O(n) in the case of TypeScript, and O(n^2) in the case of Flow. These are purely observational, and we need solid benchmarks to prove or disprove my claims.