-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix performance issues around scope close detection (#200)
* Store scope open/close rather than fetching it every process * Only look for containing arrow function once per findVariableScope * Only test likely candidates when looking for arrow functions * Only scan for closing scope for closing scope indices * Make sure to add global scope to scopeEndIndices * Remove debug line * Store scopeStartEndPairs with filename Temporarily remove scopeEndIndices * Add scopeEndIndexCache
- Loading branch information
1 parent
9ef0985
commit 81da0cf
Showing
3 changed files
with
97 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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