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

feat: packing with Store #62

Closed
julio4 opened this issue Aug 7, 2023 · 0 comments · Fixed by #72
Closed

feat: packing with Store #62

julio4 opened this issue Aug 7, 2023 · 0 comments · Fixed by #72
Labels
good first issue Good for newcomers

Comments

@julio4
Copy link
Member

julio4 commented Aug 7, 2023

Example of using StoreUsingPacking to pack multiple fields together and optimize storage slots usage.

See the Packing part of Cairo v2.1.0, an example of packing a struct with two u8 members is provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant