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

[performance]: Better key formatting in taker fee #7497

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

ValarDragon
Copy link
Member

A driveby fix for improving the key formatting of taker fee keys. I was surprised to see this was taking .1% of state machine exec time. (Mostly due to too many calls w/ protorev, but still shocking regardless)

This just lowers the heap allocs here.

@ValarDragon ValarDragon added V:state/compatible/backport State machine compatible PR, should be backported A:no-changelog A:backport/v23.x backport patches to v23.x branch labels Feb 16, 2024
@ValarDragon ValarDragon added the A:backport/v22.x backport patches to v22.x branch label Feb 16, 2024
@ValarDragon ValarDragon merged commit a767fab into main Feb 16, 2024
1 check passed
@ValarDragon ValarDragon deleted the dev/better_takerfee_keyfmt branch February 16, 2024 17:09
mergify bot pushed a commit that referenced this pull request Feb 16, 2024
(cherry picked from commit a767fab)
mergify bot pushed a commit that referenced this pull request Feb 16, 2024
(cherry picked from commit a767fab)
czarcas7ic pushed a commit that referenced this pull request Feb 16, 2024
(cherry picked from commit a767fab)

Co-authored-by: Dev Ojha <[email protected]>
czarcas7ic pushed a commit that referenced this pull request Feb 16, 2024
(cherry picked from commit a767fab)

Co-authored-by: Dev Ojha <[email protected]>
@github-actions github-actions bot mentioned this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:backport/v22.x backport patches to v22.x branch A:backport/v23.x backport patches to v23.x branch A:no-changelog C:x/poolmanager V:state/compatible/backport State machine compatible PR, should be backported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants