Repository navigation
parser: 0.2.2, the parse stage fits a large repository in a stock Node heap (#1832) - #1966
Draft
swapnilpaliwal-sd wants to merge 2 commits into
Draft
swapnilpaliwal-sd wants to merge 2 commits into
swapnilpaliwal-sd wants to merge 2 commits into
Conversation
…e heap The parser changes this release carries: repeated strings shared across the worker boundary, appends without call-argument spreads, each Python table freed once written, the largest files dispatched first, a worker count that follows memory, no per-module copy of the Python import map, and worklists drained by index in the Python, Java, TypeScript and C# extractors. Two Python changes alter the IR: an except tuple that spans lines no longer tears its block row, and a line break inside a string literal's value is kept as a newline, so a multi-line string gets a new value and expression hash. The README entry is extended as the remaining parser changes land; this is the one parser bump for the 0.2.1 release. Refs #1832
11 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #1976
Part of #1832.
Bumps the vendored parser from 0.2.1 (shipped in 0.2.0) to 0.2.2. This is the one parser bump for the 0.2.1 release, kept in its own pull request as the repository's rule asks.
It is a draft until the parser changes it describes have merged into 0.2.1: the parse-stage memory fixes, the multi-line
excepttuple fix, and streaming of parser output. The README entry is updated to match what lands, and this is merged last.