apex-dev-tools / apex-ls

Apex language server library
Other
2 stars 1 forks source link

303 improve super type declaration performance lookup #304

Closed kjonescertinia closed 21 hours ago

kjonescertinia commented 1 day ago

This depends on https://github.com/apex-dev-tools/apex-ls/pull/302

It adds caching support for super type declarations and interface for Apex classes. This improves loading time on large workspaces by ~20%.

As super class and interface may be missing and subsequently added to the workspace that caching is only used if the superclass/interface can be resolved to type declarations.