Skip to content
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

opti: inline unsigned_div_rem and div_rem #1342

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

obatirou
Copy link
Collaborator

@obatirou obatirou commented Aug 12, 2024

Time spent on this PR:

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe): opti

What is the current behavior?

Resolves #1302

What is the new behavior?

  • div_rem and unsigned_div_rem are inlined

From 141777 to 141574
Before:
main

After:
profile004


This change is Reviewable

@obatirou obatirou marked this pull request as ready for review August 12, 2024 15:12
@obatirou
Copy link
Collaborator Author

@matthieuauger Do we want merge this as the gains are very low (less than 0.5%) ?

@enitrat
Copy link
Collaborator

enitrat commented Aug 19, 2024

ok for me as this is quite isolated and with low risk of being impacted by refactorings

@obatirou obatirou merged commit 1beb379 into kkrt-labs:main Aug 19, 2024
6 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.

opti: create a custom unsigned_div_rem to reduce step used
2 participants