Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNM: persistent kernel #268

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

DNM: persistent kernel #268

wants to merge 4 commits into from

Conversation

skyzh
Copy link
Member

@skyzh skyzh commented Dec 18, 2024

The patch adds a new ng-kernel crate which contains a very simple implementation of memo table based on persistent storage (i.e., database). No in-memory state is needed and all reads/writes are done on sqlite. See persistent_memo.rs for more info. The database only stores the minimum required information of the memo table, and can be extended to build indexes or other relations to ensure retrieving info from the backend is efficient (i.e., implementing fingerprint lazy merge optimizations on skyzh/lazy-merge branch, though that one is not 100% correct)

@skyzh skyzh marked this pull request as ready for review December 18, 2024 04:50
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.

1 participant