Performance¶
Keep expensive language services responsive as the workspace grows. The first tool to reach for is usually caching.
Typical cases¶
- computing document-local symbol tables
- memoizing derived semantic data
- reusing per-type index views
- avoiding repeated whole-workspace scans
Related pages¶
- Caches — start here
- Document Lifecycle — reason about when cached data becomes stale