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

Cleanup and modularize index #261

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Conversation

richiejp
Copy link
Contributor

@richiejp richiejp commented Nov 5, 2024

Move the basic in-memory index functionality into utils and rework the API to make it easier to use. There is now a seek function which moves the file offset to the exact line-end requested by the user.

The temp file generation has not been moved into utils because generalising it started to introduced a lot more callbacks and other complications.

This also changes the sheet display code so that (building index) is displayed in the status area while indexing is in progress.

Move the basic in-memory index functionality into utils and rework the
API to make it easier to use. There is now a seek function which moves
the file offset to the exact line-end requested by the user.

The temp file generation has not been moved into utils because
generalising it started to introduced a lot more callbacks and other
complications.

This also changes the sheet display code so that (building index) is
displayed in the status area while indexing is in progress.
@liquidaty liquidaty merged commit 923870d into liquidaty:main Nov 5, 2024
10 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.

2 participants