Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!--- Please provide a general summary of your changes in the title above --> ## Pull Request type <!-- Please try to limit your pull request to one type; submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [ ] Bugfix - [ ] Feature - [ ] Code style update (formatting, renaming) - [x] Refactoring (no functional changes, no API changes) - [ ] Build-related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior? ```diff running 3 tests - test alexandria_math::tests::mod_arithmetics_test::pow_mod_1_test ... ok (gas usage est.: 28413612) + test alexandria_math::tests::mod_arithmetics_test::pow_mod_1_test ... ok (gas usage est.: 27142740) - test alexandria_math::tests::mod_arithmetics_test::pow_mod_2_test ... ok (gas usage est.: 28413612) + test alexandria_math::tests::mod_arithmetics_test::pow_mod_2_test ... ok (gas usage est.: 27142740) - test alexandria_math::tests::mod_arithmetics_test::pow_mod_test ... ok (gas usage est.: 28443352) + test alexandria_math::tests::mod_arithmetics_test::pow_mod_test ... ok (gas usage est.: 27173670) ``` Issue Number: N/A ## What is the new behavior? No changes in functionality, just slightly faster `pow_mod`. ## Does this introduce a breaking change? - [ ] Yes - [x] No
- Loading branch information