Skip to content

Optimize C++ generated code to skip condition checks for unconditionally present fields #249

@AaronWebster

Description

@AaronWebster

As discussed in PR #241, we should optimize the Ok() method generation to skip if-block wrappers for fields that are unconditionally present (where the condition is statically known to be true).

This reduces the size and complexity of the generated C++ headers, but introduces golden file churn which makes it better suited as a separate issue and PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions