Skip to content

Conversation

@beatlevic
Copy link
Collaborator

Instead of using AutocompleteLruCache which depends on Sqlite, added AutocompleteLruCacheInMem which depends of already existing node dependency lru_cache

Made sure we only have one instance (AutocompleteLruCache has two in CompletionProvider).

Has the same interface/methods as AutocompleteLruCache, so we can easly switch (back) to the sqlite version later.

@changeset-bot
Copy link

changeset-bot bot commented Nov 7, 2025

⚠️ No Changeset found

Latest commit: 2b21655

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@beatlevic beatlevic enabled auto-merge November 10, 2025 11:17
@beatlevic beatlevic merged commit 7ca795d into main Nov 10, 2025
12 checks passed
@beatlevic beatlevic deleted the beatlevic/autocomplete-lru-cache-in-mem-main branch November 10, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants