caching AST parsing
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 363
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 3
Description
any chance of caching the parsing of the AST? i'm particularly interested in this for a watching build process as recast becomes unbearably slow with larger files.
could be included (difficult imo with configurable esprima and options) or an external function. would also be cool if we could cache it to disk (serialize), but that's probably excessive
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Start by tracing recast's AST parsing path and how configurable esprima options enter it, then determine whether a cache can preserve correctness across changing source and parser options. Done should include a defined cache API and tests showing faster repeated parsing without stale or incompatible ASTs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- performance, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100