Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 35.2k
gh-144015: Add portable SIMD optimization for bytes.hex()#143991
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
bbb4a8a90da084bdceb9c4f3d60d015cc55ae3d7bea22e5ce2fe987ce643fb892c281d190936fb2dd34eb6feaba0f94c06e8650f35fc294c2a378d48110537597c675dfc295f37d01ca325deb69b27e02348a2f87e67993File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| Speed up :meth:`bytes.hex`, :meth:`bytearray.hex`, :func:`binascii.hexlify`, | ||
| and :mod:`hashlib` ``.hexdigest()`` operations with SIMD on x86-64, ARM64, | ||
| and ARM32 with NEON when built with gcc (version 12 or higher) or clang | ||
| (version 3 or higher) compilers. Around 1.1-3x faster for common 16-64 byte | ||
| inputs such as hashlib hex digests, and up to 8x faster for larger data. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.