microsoft / microsoft/TypeScript
Suggestion: Can we check properties in a more efficient order during structural comparisons?
Open
Nobody has claimed this yet.
Domain: Performance
Needs Investigation
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
A generalization of #38583: we can't tell without (expensively) resolving a property's type/signature whether it depends on a type variable, but we can heuristically check whether it syntactically appears to depend on one. If this heuristic is good enough, we might be able to check properties in a more efficient order.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.