GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — perf(javascript): parse every program through parseProgram, ESTree on request by alexander-akait · Pull Request #23073 · webpack/webpack perf(javascript): parse every program through parseProgram, ESTree on request #23073New issueHave 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
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
7dcb6a4
perf(javascript): write a SyntaxTree's nodes children first
alexander-akait 3fd8794
perf(javascript): regenerate types for the post-order SyntaxTree writer
alexander-akait cde0f18
perf(javascript): build a whole SyntaxTree's ESTree in one pass
alexander-akait ed5f763
perf(javascript): make lazy parsing flat by default, ESTree on request
alexander-akait d4d8f5c
perf(javascript): parse every program through parseProgram
alexander-akait 8c092bc
refactor(javascript): type parseProgram with overloads, no casts to any
alexander-akait 2ae76fa
refactor(javascript): validate the printer's regexps without a parse
alexander-akait a6a167a
fix(javascript): refuse an unterminated literal before validating a r…
alexander-akait 921ff2b
docs(javascript): describe parseProgram as the one entry, parsedTree …
alexander-akait 781c0a2
refactor(javascript): type addEstree's root as the node it reads, wit…
alexander-akait 5056ed8
docs(changeset): keep the folded JavaScript entry to one short sentence
alexander-akait b137712
fix(javascript): guard and invalidate the tree on every parseProgram …
alexander-akait 208adba
fix(javascript): write a node acorn shares between two fields once pe…
alexander-akait 76936cb
fix(javascript): build a tree in id order only when every child comes…
alexander-akait f9ffe0c
fix(javascript): read words as a script once auto falls back to one
alexander-akait File filterConversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page. Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page. Diff viewDiff view
perf(javascript): make lazy parsing flat by default, ESTree on request
`parse` with `lazyNodes` now writes a SyntaxTree read through `A` and returns the program's node; `estree: true` keeps building ESTree objects, which JavascriptParser and WebManifestParser ask for. Rebuilding a whole program with `toEstreeObject` costs 30-55% more, so the option stays. `toEstreeObject(node, fields?)` reads the last parse's tree, and any tree builds its own with `SyntaxTree#estree`; the JavaScript path drops its `tree` member, the printer reading `parsedTree()` once per print. Claude-Session: https://claude.ai/code/session_013FhutQ8TLT8praLXM7AUrr
Uh oh!
There was an error while loading. Please reload this page.
commit ed5f7631a598393922307cb70c31cc47f4540575
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
|
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |