aboutcode-org / aboutcode-org/scancode-toolkit
optimization for extracting email and URLs
Open
easy
enhancement
good first issue
help wanted
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 791
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 5
Description
In case the emails and URLs are extracted it is possible to avoid running the (expensive) regular expression and replace it with a much simpler and cheaper check to filter out large amounts of files (over 50% in my experience).
By first checking for '@' and '://' you can avoid having to run some of these checks, if these characters are not present.
Contributor guide
Assessment
This issue has not been assessed yet.