Suggestion: Include my MASM32 assembler and Windows Batch file versions of the xxh32 function #1076
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#1076
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?
Hi! First post here, so bear with me... I wrote a highly optimized version of the xxh32 function written in the MASM32 assembler that I'm pretty sure will be faster than any C or C++ version when run under equal circumstances. The function is written in C-compatible format, so you only need to link the generated xxh32.obj file with your standard Windows C program to use it as usual.
I also wrote the program xxHash32.asm as an example of using my xxh32 function that allows calculating xxHash32 values in several ways from the Windows cmd.exe's command line. Additionally, it also calculates the xxHash32 value from the xxHash32 values of all lines in a text file, so it can also be used as a digital signature to confirm the integrity of simple text files.
Finally, and just for fun (well, also for fun), I translated this code into a Windows Batch file... This translation was interesting because Batch files suffer from a number of technicall limitations...
I want to contribute to this site by offering these programs to be included here. Thank you.
Antonio
Congratulations for this great work @Aacini !
A typical way to make it available to the public would be to create a fork, for example on github. I would then advertise your version on the xxhash.com webpage.
This can be done quickly and is likely a worthwhile first step.
Integration into upstream typically entails a lot more constraints, and will take more time.
Ok. I downloaded all my files on my first repository:
https://github.com/Aacini/xxHash32
Thanks!
Great work @Aacini !
I've linked your repository from the xxhash homepage