-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
wc: pass GNU test wc-proc and Windows optimization #5612
Conversation
GNU testsuite comparison:
|
GNU testsuite comparison:
|
Nice, did you do some benchmarking on windows? thanks |
thanks! nothing rigorous, but just compared on my Win11Pro ARM VM and on 85MB file it is about 3x faster (on the cold start and unoptimized debug build). Should be much faster on files with sizes in GBs / TBs |
@sylvestre @tertsdiepraam would you mind looking it over? Thanks! |
GNU testsuite comparison:
|
Co-authored-by: Sylvestre Ledru <[email protected]>
GNU testsuite comparison:
|
excellent, thanks :) |
wc -c
) use filesystem's metadata file size instead of full file read - for regular files