Polishing help page #345
Labels
No labels
announcement
bug
build
CI
dependencies
documentation
duplicate
enhancement
experience feedback
feature request
github_actions
help wanted
install
invalid
Long-term
optimization
portability
question
target-specific
test issue
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Cyan4973/xxHash#345
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ideas for changing the help page of xxhsum 0.7.2
\…\…\)parameters, thenoptions, thenarguments) and line breaks for legibility-H#is changed into-#for speed, not to mention we choose not another Hash, but its strengthI will say I like the format.
Calculate? sure.
Fast? Not required, there is no reason to boast, and most of the time with checksum utilities, the bottleneck is disk IO.
Non-cryptographic? That is good.
Yeah, I was considering that.
Yeah could use better organization
No, XXH32, XXH64, and XXH128 are different hash algorithms. It would be better to mention them by name, though.
These are nice suggestions @sergeevabc ,
I will put together a patch following some of these recommendations.
I am saddened to report that the default output of 0.7.4 is still an irritating eyesore,
because it displays full path to the executable (1,2) for no reason and neglects line breaks (3).
I guess I can work on that.
We would have to get the specific columns of the terminal, which is far from portable. Won't fix, sorry.
Lexically, we should be able to do something like this:
LZ4has this :lastNameFromPath()https://github.com/lz4/lz4/blob/v1.9.2/programs/lz4cli.c#L239
should be re-usable.
And speaking of line breaks, do we really need such verbose first line, including URL to the specific git of Clang?! Not to mention that end-users might perceive that as a link to the official website of the app. Originally I proposed much shorter output which contains app’s name, version, author, architecture and even a release date. But if you insist on outputting all that “little endian” stuff, consider moving it to the next line as follows
That looks reasonable.
There might be situations where it's less desirable to display 2 lines instead of 1,
but we can probably separate efficiently these scenarios.
I believe that advanced compilation informations have proven fairly useful during this development period.
I also believe they are still valid and important when invoking the internal benchmark module.
Beyond that, and as we are gearing towards stabilization, they could take a second seat.
That is a MinGW thing, MinGW puts this in
__clang_version__for some reason. Most just do the version number.xxHash flavors naming convention probably did not keep up with the development, so today we have a mess of two families (1 and 3), two flavors with the same bit length (64), and ambiguous tags, but this mess needs to be dealt with. Sooner is better than later.
Since I am still looking for clarity regarding the help screen, I'll make another suggestion.
If the tag standardization part looks too radical, there is the OpenHashTab way as follows