Skip to content

changed modulo to use divmod directly to optimize#31

Merged
calccrypto merged 1 commit intocalccrypto:masterfrom
sharyashuvg:master
Jan 7, 2025
Merged

changed modulo to use divmod directly to optimize#31
calccrypto merged 1 commit intocalccrypto:masterfrom
sharyashuvg:master

Conversation

@sharyashuvg
Copy link

the remainder operator uses division to then multiply and subtract.
but we can use the remainder that the divmod gave to the division.

@calccrypto calccrypto merged commit 432fa37 into calccrypto:master Jan 7, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants