forked from lithdew/solana-zig
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
entrypoint: Optimize to reduce by a few CUs (#9)
#### 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.
- Loading branch information
Showing
2 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters