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: use deque for file, scrape and sort progress #432

Merged
merged 18 commits into from
Jan 22, 2025

Conversation

NTFSvolume
Copy link
Collaborator

@NTFSvolume NTFSvolume commented Jan 5, 2025

  • Use deque to speed up the time it takes to redraw the entire UI. Helps reduce flickering on some terminals

  • Use a base class for file, scrape and sort progress, to reduce code duplication

TODO

  • Apply to hashing progress Progress is too different
  • Apply to sort progress

@NTFSvolume NTFSvolume added the refactor No user facing changes label Jan 5, 2025
@NTFSvolume NTFSvolume changed the title perf: use deque for file and scrape progress perf: use deque for file, scrape, hashing and sort progress Jan 8, 2025
@NTFSvolume NTFSvolume changed the title perf: use deque for file, scrape, hashing and sort progress perf: use deque for file, scrape and sort progress Jan 20, 2025
@NTFSvolume NTFSvolume marked this pull request as ready for review January 20, 2025 15:40
@NTFSvolume NTFSvolume requested a review from jbsparrow January 20, 2025 15:40
Copy link
Owner

@jbsparrow jbsparrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks amazing! 👍:)

@jbsparrow jbsparrow merged commit 395f29b into jbsparrow:master Jan 22, 2025
3 checks passed
@NTFSvolume NTFSvolume deleted the use_deque branch January 22, 2025 19:30
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