Skip to content

Support optimize other file types#1

Merged
rhodey merged 8 commits into
mainfrom
support-optimize-other-file-types
Feb 20, 2026
Merged

Support optimize other file types#1
rhodey merged 8 commits into
mainfrom
support-optimize-other-file-types

Conversation

@rhodey

@rhodey rhodey commented Feb 18, 2026

Copy link
Copy Markdown
Owner

Support optimize other file types by add --pattern command line option

sqlitesuperfs super1 /tmp/super1
sqlitesuperfs super1 /tmp/super1 --pattern db-journal,db
sqlitesuperfs super1 /tmp/super1 --pattern db-journal,db --pattern lock,off,log

Pattern defaults to "db-journal,db" and so running the first command is same as second

The third command is what you would use to optimize for SQLite and tinyraftplus at the same time

If you have a data structure which uses the file system and the data structure behaves similar to journal_mode DELETE or TRUNCATE you can use this feature. Pattern is a list of file extensions and the first needs to be the file extension of the lockfile

This PR also improves speed

@rhodey rhodey force-pushed the support-optimize-other-file-types branch from 530741b to 3a79751 Compare February 19, 2026 19:39
@rhodey rhodey force-pushed the support-optimize-other-file-types branch from 926d69f to 2ca35f2 Compare February 20, 2026 16:09
@rhodey rhodey marked this pull request as ready for review February 20, 2026 17:41
@rhodey rhodey merged commit bd6a655 into main Feb 20, 2026
2 checks passed
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