Skip to content

Improve grep system#2

Merged
kqito merged 1 commit intomainfrom
fix-compiled-too-big
Jan 3, 2025
Merged

Improve grep system#2
kqito merged 1 commit intomainfrom
fix-compiled-too-big

Conversation

@kqito
Copy link
Owner

@kqito kqito commented Jan 3, 2025

This PR enhances the grep system with the following changes:

  • Parallel Processing: Integrated the rayon crate for parallel processing to improve performance.
  • File Type Filtering: Added the -t/--filetype option to filter results by file type (file, directory, symlink).
  • Code Simplification: Removed the --unique option and implemented automatic deduplication.
  • Cleaner Path Matching: Improved path handling by omiting ./ prefixes and enhanced regex matching for paths and line/column numbers.

@kqito kqito self-assigned this Jan 3, 2025
@kqito kqito merged commit 924ee9b into main Jan 3, 2025
9 checks passed
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