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

DiveFile as object #124

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

pasmado
Copy link

@pasmado pasmado commented Sep 4, 2021

Hi,
I'm trying to improve vGrive performance by changing the mechanism of searching the repository in the web and searching file system multiple times. I think vGrive could do a full search and keep the results locally for imediate references. It would be a kind of cache, where imediate new searches could be made locally in less expensive operations.
I think there are two good alternatives for that. Keeping the records in memory in a HashTable or saving them to a database.
I'd like to try memory option first.
Of course it would be a huge change in system backbone, so I'm trying to go one step at time. This is the first as implementing DriveFile as a class instead of struct. The next is doing a readability refactor in list_files and finally caching things up.
I hope it can be useful.
Thanks.

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.

None yet

1 participant