Skip to content

sqlite version#1183

Open
lengyijun wants to merge 5 commits into
ajeetdsouza:mainfrom
lengyijun:sqlite
Open

sqlite version#1183
lengyijun wants to merge 5 commits into
ajeetdsouza:mainfrom
lengyijun:sqlite

Conversation

@lengyijun

@lengyijun lengyijun commented Feb 20, 2026

Copy link
Copy Markdown

Reason for sqlite

  1. bincode is archieved
  2. We can manage database easily: we can close Bulk delete directories using pattern #571 go to Most Recently Accessed Path #942 List recent accessed dirs #1035 Add option: zoxide query -t : print last_accessed #1037 immediately
  3. On my computer, sqlites works faster: may help zoxide query --interactive sometimes took very long to return output #1123
  4. With sqlite, some options of zoxide can be simplified, or removed

@MahouShoujoMivutilde Maybe you are interested

@abghim

abghim commented Apr 6, 2026

Copy link
Copy Markdown

This is a big rewrite, what does the community think about this?

@HigherOrderLogic

Copy link
Copy Markdown

If Sqlite provides some speed improvement, I'd love to get this merged.

Otherwise maybe we can conside wincode or rkyv if we want to migrate off bincode.

@ajeetdsouza

Copy link
Copy Markdown
Owner

@lengyijun I'm curious - how did you benchmark sqlite? I'd be surprised if it outperformed bincode on a small files like ours.

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.

Bulk delete directories using pattern

4 participants