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

Compact typed representation of Api<T> #90

Open
ia0 opened this issue Mar 28, 2023 · 0 comments
Open

Compact typed representation of Api<T> #90

ia0 opened this issue Mar 28, 2023 · 0 comments
Labels
crate:api Modifies the applet API for:footprint Reduces firmware footprint for:performance Improves firmware performance needs:design Needs design to make progress

Comments

@ia0
Copy link
Member

ia0 commented Mar 28, 2023

It should essentially be a u32 using the arbitrary_enum_discriminant feature, followed by the Merged<T>. It might need #[repr(C, u32)] too.

Related issues:

@ia0 ia0 added needs:design Needs design to make progress for:performance Improves firmware performance for:footprint Reduces firmware footprint crate:api Modifies the applet API labels Mar 28, 2023
@ia0 ia0 mentioned this issue Dec 21, 2023
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate:api Modifies the applet API for:footprint Reduces firmware footprint for:performance Improves firmware performance needs:design Needs design to make progress
Projects
None yet
Development

No branches or pull requests

1 participant