Skip to content

entrypoint: Optimize to reduce by a few CUs #9

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

Merged
merged 1 commit into from
Nov 18, 2024
Merged

entrypoint: Optimize to reduce by a few CUs #9

merged 1 commit into from
Nov 18, 2024

Conversation

joncinque
Copy link
Owner

Problem

There's a few inefficiencies in the entrypoint taking up a few unnecessary CUs.

Summary of changes

Do some math all together to use fewer CUs during the entrypoint. For the transfer-lamports example in Rosetta, this brings CU usage down from 44 CUs to 38 CUs.

#### Problem

There's a few inefficiencies in the entrypoint taking up a few
unnecessary CUs.

#### Summary of changes

Do some math all together to use fewer CUs during the entrypoint. For
the transfer-lamports example in Rosetta, this brings CU usage down from
44 CUs to 38 CUs.
@joncinque joncinque enabled auto-merge (squash) November 18, 2024 18:07
@joncinque joncinque merged commit 2771518 into main Nov 18, 2024
12 checks passed
@joncinque joncinque deleted the optentry branch November 18, 2024 18:32
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.

1 participant