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

perf: improve hashing #431

Merged
merged 4 commits into from
Jan 5, 2025
Merged

Conversation

NTFSvolume
Copy link
Collaborator

  • keep reference to hashed files (HASHING.INPLACE) to not hash them again at the end
  • use sets when possible

@NTFSvolume NTFSvolume added the refactor No user facing changes label Jan 5, 2025
@NTFSvolume NTFSvolume requested a review from datawhores January 5, 2025 16:11
@NTFSvolume NTFSvolume merged commit 2fd2904 into jbsparrow:master Jan 5, 2025
3 checks passed
@NTFSvolume NTFSvolume deleted the improve_hashing branch January 5, 2025 22:53
datawhores pushed a commit to datawhores/CyberDropDownloader that referenced this pull request Jan 14, 2025
* perf: keep reference to hashed files (`HASHING.INPLACE`) to not hash them again at the end

* refactor: simplify final dedupe

* refactor: use sets when possible

* refactor: save a reference to the entire media item to speed up lookup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor No user facing changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants