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

optimize search file content #84

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

h0tw1r3
Copy link
Contributor

@h0tw1r3 h0tw1r3 commented Jan 29, 2024

  • read file by line until match
  • only read files once per check
  • prefer include over match

replacing readlines.grep happens to fix #63

* read file by line until match
* only read files once per check
* prefer include over match

replacing readlines.grep happens to fix voxpupuli#63
This was referenced Jan 29, 2024
@zilchms zilchms merged commit de8d879 into voxpupuli:master Jan 29, 2024
6 checks passed
@h0tw1r3 h0tw1r3 deleted the optimize-search-file-content branch April 13, 2024 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting 'ArgumentError: invalid byte sequence in UTF-8' when using ghostbuster_facts
3 participants