Migrate maps and sets - #39264
Merged
Merged
Conversation
Ron Buckton (rbuckton)
requested review from
Sheetal Nandi (sheetalkamat) and
Wesley Wigham (weswigham)
June 25, 2020 23:09
Contributor
Author
|
TypeScript Bot (@typescript-bot) perf test |
Contributor
|
Heya Ron Buckton (@rbuckton), I've started to run the perf test suite on this PR at 9e34d17. You can monitor the build here. Update: The results are in! |
Contributor
|
Ron Buckton (@rbuckton) Here they are:Comparison Report - master..39264
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ron Buckton (rbuckton)
force-pushed
the
migrateMapsAndSets
branch
from
June 26, 2020 17:17
9e34d17 to
611b77f
Compare
Ron Buckton (rbuckton)
marked this pull request as ready for review
June 26, 2020 17:17
|
Have you seen this javascript hast-table implementation? Claims to be faster than the native approach. Maybe is worth checking out |
# Conflicts: # src/compiler/checker.ts # src/compiler/commandLineParser.ts # src/compiler/core.ts # src/compiler/moduleNameResolver.ts # src/compiler/transformers/declarations.ts # src/compiler/tsbuildPublic.ts # src/compiler/types.ts # src/compiler/utilities.ts # src/harness/client.ts # src/server/editorServices.ts # src/server/typingsCache.ts # src/server/utilities.ts # src/services/codefixes/convertToAsyncFunction.ts # src/services/documentRegistry.ts # src/services/importTracker.ts # src/services/refactorProvider.ts # src/services/refactors/extractSymbol.ts # src/testRunner/unittests/programApi.ts # src/typingsInstallerCore/typingsInstaller.ts # tests/baselines/reference/api/tsserverlibrary.d.ts # tests/baselines/reference/api/typescript.d.ts
Andrew Branch (andrewbranch)
approved these changes
Jul 8, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This builds on #33771 by migrating more cases where we are using
Mapwhere aSetwould do, replaces theNodeMapandNodeSetclasses in utilities.ts, and deprecates a number of methods that should no longer be used (though I've left them in for now to help anyone used to writingcreateMaporcreateUnderscoreEscapedMaptransition to just usingMap).