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

Implement Packable trait and use it for storage #11285

Open
benesjan opened this issue Jan 16, 2025 · 0 comments · May be fixed by #11136
Open

Implement Packable trait and use it for storage #11285

benesjan opened this issue Jan 16, 2025 · 0 comments · May be fixed by #11136

Comments

@benesjan
Copy link
Contributor

benesjan commented Jan 16, 2025

Once #8271 is addressed we will be storing U128 in 2 storage slots. This is expensive and should be addressed by implementing a Packable trait, which unlike Serialize trait produces a compact repr. of a given struct.

Look for "TODO(#11285)" in the codebase for where to remove hacks.

@benesjan benesjan linked a pull request Jan 16, 2025 that will close this issue
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 a pull request may close this issue.

1 participant