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

feat: improve performance #71

Merged
merged 5 commits into from
Dec 20, 2024
Merged

feat: improve performance #71

merged 5 commits into from
Dec 20, 2024

Conversation

chaqchase
Copy link
Owner

This pull request includes several significant changes to improve performance, enhance features, and refactor code in the project. The most important changes include optimizing directory listing and size calculation, improving the tree formatter, and updating the fuzzy lister and recursive lister.

Performance Improvements:

  • Optimized the calculate_dir_size function to use parallel processing for faster directory size calculation (lla/src/commands/file_utils.rs).
  • Improved fuzzy search performance by disabling link following (lla/src/lister/fuzzy.rs).

Feature Enhancements:

  • Enhanced the tree formatter by refactoring the code to improve rendering efficiency and adding support for icons (lla/src/formatter/tree.rs). [1] [2]

Code Refactoring:

  • Refactored the recursive lister to use parallel processing and optimize entry filtering (lla/src/lister/recursive.rs). [1] [2] [3]

Version Updates:

  • Updated the project version to 0.3.7 in Cargo.toml and CHANGELOG.md to reflect the new changes and improvements (Cargo.toml, CHANGELOG.md). [1] [2] [3]

@chaqchase chaqchase added the release Release a new version label Dec 20, 2024
@chaqchase chaqchase merged commit f5e1963 into main Dec 20, 2024
8 checks passed
@chaqchase chaqchase deleted the feat/optimize branch December 20, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Release a new version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant