-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add support for core.simd, intel-intrinsics, or inlined assembly #1
Comments
Or I could do like the std.digest.sha package does and at least support SSSE3 (version |
I don't really think this needs SIMD this much because when compiled with LDC or GDC, I get similar performance results compared to OpenSSL. Test env:
Results (input:
|
New test under Windows (pv from Cygwin, supporting /dev/urandom) evaluates sha3-d at 140 MiB/s and OpenSSL-Win64 3.0.1 at 232 MiB/s so yeah I do see the difference now. |
In any case, a version |
Plan:
Notes:
|
Having some form of acceleration would benefit everyone, which this module currently lacks.
Options:
The plan is to try options 1 and 2 and see which yields the best results (through benchmark and godbolt).
NOTE: The reason this wasn't implemented at first is because this module was once a contestant to get into Phobos.
The text was updated successfully, but these errors were encountered: