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

Refactoring of storage + rename detection #3

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

Conversation

alansingfield
Copy link

THIS WORK IS NOT FINISHED!!!

Added Rename detection - this works by matching on lastmodified date/time and length. If it sees a delete and a create together which are either (same directory, different name) or (same name, different directory) - it discards the delete and create, putting a Rename in place.

Work on memory usage. There were a lot of strings being allocated for the filenames and directory names, meaning high memory usage when monitoring large folders.

Implemented a Parent Pointer Tree to store each directory name only once.

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