xanderbailey opened a new pull request, #3781: URL: https://github.com/apache/iceberg-rust/pull/3781
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> - Closes #. ## What changes are included in this PR? On aarch64, `aes` 0.8 and `polyval` 0.6 only use the ARMv8 AES and PMULL instructions when built with `--cfg aes_armv8` and `--cfg polyval_armv8`. We can't set those for users of the crate, so AES-GCM was running in software on Apple Silicon and Graviton. `aes-gcm` 0.11 moves to `aes` 0.9 and `polyval` 0.7, which detect the instructions at runtime. On an M-series Mac, decrypting an 8 MiB AGS1 stream goes from 31 ms to 1.6 ms. <!-- Provide a summary of the modifications in this PR. List the main changes such as new features, bug fixes, refactoring, or any other updates. --> ## Are these changes tested? Covered by the existing encryption tests. <!-- Specify what test covers (unit test, integration test, etc.). If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? --> ## AI Disclosure Used to find the slowdown and benchmark it <!-- https://iceberg.apache.org/contribute/#guidelines-for-ai-assisted-contributions --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
