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

Making the counter code shorter and assigning datatype #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kasuba97
Copy link

@kasuba97 kasuba97 commented Feb 4, 2024

checking counter before implementation.

adding data type to counter

ignoring main.exe

As we dive into the realm of Solana development, remember that rent is based on data. Optimize your code wisely, favoring smaller data types like u8 over larger ones such as i32. This not only trims rent costs but also aligns with efficient blockchain practices.

Your mindful coding choices not only benefit your project but also contribute to the sustainability of the Solana ecosystem. Keep innovating, keep optimizing!

checking counter before implementation.

adding data type to counter

ignoring main.exe
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