-
Notifications
You must be signed in to change notification settings - Fork 19
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
how things are decompressed should be explained #15
Comments
You are correct, I totally punted on writing the docs for that and enumerating what tools are expected with each file extension. I want to add the same preprocessor logic that ripgrep has as well. I'll add some better docs around that in the near future. Link for future me to what formats and binaries are paired together: |
@sstadick cool stuff and thanks for the quick reply. This application has a well deserved place + use cases. Some feedback on the TODOs, since they kinda are related about undocumented/yet unplanned:
|
Thanks for the reply and interest!
|
Usually guarding sufficiently sized chunks with atomics for access and an atomic access state enum should be enough. The only thing that this does not solve are necessary priority increases (via scheduler) of CPU cores/threads not being able to run or threads being finished earlier. Did you try 2 static buffers (ringbuffers) [1 for input, 1 for output] for the memory allocation (by number of threads) yet?
You might want to specify this property in the |
"Input files will be automatically decompressed if their file extension is recognizable and a local binary exists to perform the decompression (similar to ripgrep)"
This is very vague for new users and annoying to cross-check how ripgrep does it. Please provide a more accurate description and/or link the functionality description.
likely related BurntSushi/ripgrep#539
The text was updated successfully, but these errors were encountered: