Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 13.8k
Watch improvements in tsserver#17269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
21ad26bae33ae875698a8f1549100e443672a6382796ffd536bd42b8df6f75b9ff947662871cc48c651319a6a0068def1b029b1f2f338a708fedcf7e568976048e67c0365901404aa8f71d79c6f12980d00011a50572b1562663a1dcbd7b162ef6b12439e7aff34a771155c37ae87838802e283499fabc273569f94a589bef5935be0684756237b229b18f7b85b925469e5abdc814d8e2dd6aed89c61e7bb91b3246e3d1c031a6370d5e6c9276223265a6ee0d55150c8dc62487474ba76385f7e65521bc27988bf02b8a7df723bebb071a868db05c2594482dd0a23bb59d07dc9895082f1b1b12136b0916bf9133a99c04eb66b752da0d374e639ceb8deef58c425128d217bec60e2e6884b2e2339083257173da2e500be26227a3655931c4e65df12e7112383b85f3fea95f3b9e570c34c790335aafd3f17565d810ea5bf254e393a3b946716cf7c4d7ce95d345f36d2b97b2c8d5d4c29e5e20c13aafa26c612937b2bab554f64a10ff160fe6eede12a5d954680994ec8e711c29e93c3b179cd167f9533de28d025739b68fdb104baea8630b536f9d4f7c0e5cf72f2a23acff514febe238f3a2b68d36059e08cae835153b898559b7f969e84bb47118ac01d7File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is likely a minor slow-down, for no benefit to readability.
Functions that are called with polymorphic arguments are quickly de-optimised. This one is specifically intended to be called with polymorphic arguments, so it's very likely to be de-optimised and become slower than conventional idiomatic
typeof === 'string'.Worth checking with a timed run.