Skip to content

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