- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
sort: Rework merge batching logic #6957
sort: Rework merge batching logic #6957
Conversation
872bd2a
to
b42d0e4
Compare
Cool |
b42d0e4
to
a97ca59
Compare
I fixed the windows compilation issue hopefully (I don't have a Windows setup to test on though), but the |
b9e1196
to
e888500
Compare
GNU testsuite comparison:
|
Any idea why it doesn't fix the GNU tests about this ?
|
Unfortunately there are several issues that need to be fixed before I've written a new test case as part of this PR to demonstrate the issue that this PR fixes - the test case would previously fail but now passes. What's the best way for me to proceed with fixing these issues? I can understand that on one hand it would be nice to have a single PR that can fix the Let me know how you want me to queue this stuff up 👍 |
Fix bug uutils#6944 Rework the way batching is done with sort such that it doesn't open more input files than necessary. Previously, the code would always open one extra input file which causes problems in ulimit scenarios. Add additional test case.
e888500
to
6bdcad3
Compare
GNU testsuite comparison:
|
nope, this is fine :) |
Fixes #6944
Rework the way batching is done with sort such that it doesn't open more input files than necessary. Previously, the code would always open one extra input file which causes problems in ulimit scenarios. Add additional test case.