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: add OutputAsset #231

Merged
merged 3 commits into from
Nov 13, 2023
Merged

feat: add OutputAsset #231

merged 3 commits into from
Nov 13, 2023

Conversation

underfin
Copy link
Contributor

Description

Test Plan


@underfin
Copy link
Contributor Author

#[derive(Deserialize, Default, Derivative)]
#[serde(rename_all = "camelCase")]
#[derivative(Debug)]
pub struct Outputs {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here serializing enum to node is difficult. It also can be implemented by serialize to a reference and get actualy value by the reference. But the performance is slow than once serializing, so here I merge data to other structures.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But serializing once maybe is bad for performance if here have a larger data at future, we can adjust it if we have larger data at future.

@underfin underfin force-pushed the 11-12-feat_add_OutputChunk_is_entry_and_facade_module_id branch from 63fd917 to 5dc3e74 Compare November 13, 2023 01:47
Base automatically changed from 11-12-feat_add_OutputChunk_is_entry_and_facade_module_id to main November 13, 2023 01:47
@underfin underfin force-pushed the 11-12-feat_add_OutputAsset branch from 4eabf01 to 09a0059 Compare November 13, 2023 01:48
@underfin underfin merged commit 42420d7 into main Nov 13, 2023
5 checks passed
@underfin underfin deleted the 11-12-feat_add_OutputAsset branch November 13, 2023 01:49
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.

2 participants